Author Topic: HELP! Every page comes up with "The page you requested cannot be found!"  (Read 3090 times)

Offline Dave1960

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
Can't even log into Admin area -

the site is inkandtonertoday.com

Any ideas?

Thank you!

Dave

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4153
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Any errors in the log file?
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline Dave1960

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
Can you tell me where to find it on the server? I can't log in as admin.

Thank you!

Dave

Offline Dave1960

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile
I believe it has something to do with rewrite rule for the .htaccess file - the original was this:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

This gave me page not found errors on the home page and cannot log in. However SOME of the product pages were intact, some were not.

I changed it to this:

RewriteEngine On

RewriteCond %{THE_REQUEST} \s/+index\.php\?([^\s&]+) [NC]
RewriteRule ^ %1? [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ index.php?$1 [L,QSA]

Now the home page comes up but no other pages come up (they all rewrite to the home page), we can't use the admin login, and no customers can log in.

I went back to the original htaccess file so you can see what it's doing.

Any ideas on how to fix it?

Thank you!!

Dave

« Last Edit: December 12, 2014, 02:39:06 AM by Dave1960 »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4396
  • Karma: +205/-0
    • View Profile
Hello.

Try to disable SEO urls in AbanteCart settings.
Also report last few issues in AbanteCart error log
“Chuck Norris is so amazing.”
― Mother Teresa

Offline Dave1960

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile

Basara - I would, but I cannot log in - I cannot get to the admin login page, as I stated on the original request. It gives me the same 'page not found' error in the middle of the cart page.

Thoughts??

Thank you,

Dave

yonghan

  • Guest
Hi,just now I can't open your site.Please login to your cpanel,open and copy the error.txt content under system/logs and paste it here so admins can see the errors.

Offline Dave1960

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile

I found the log file - what does this mean?

Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/inkandto/public_html/core/lib/config.php on line 169
2014-09-07 9:56:17 - App Warning:  AbanteCart core v.1.1.9 Warning: Accessing store with unconfigured or unknown domain ( 108.175.146.168/ ).


ANd now all of a sudden I am getting this:


2014-12-12 6:33:03 - warning:  AbanteCart core v.1.1.9 mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/home/inkandto/public_html/core/database/mysql.php</b> on line <b>46</b>
2014-12-12 6:33:03 - database error:  AbanteCart core v.1.1.9 Error: Could not make a database connection using inkandto_aban796@localhost in <b>/home/inkandto/public_html/core/database/mysql.php</b> on line <b>48</b>


Can you tell me what's going on? Has the site been hacked?

yonghan

  • Guest
The bottom error indicate that you can't connect to database using the given username.You can contact  your hosting and ask their support to check if your website been hacked or not as this is not related to abantecart error.

Hope it helps

Offline Dave1960

  • Newbie
  • *
  • Posts: 25
  • Karma: +3/-0
    • View Profile

This problem has been resolved. The web host rebooted the server and it is now fixed. Thank you for all of your troubles. I greatly appreciate your support!!

Dave

yonghan

  • Guest
Re: HELP! Every page comes up with "The page you requested cannot be found!"
« Reply #10 on: December 12, 2014, 05:40:21 AM »
You're welcome :)

 

Powered by SMFPacks Social Login Mod