Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

HELP! Every page comes up with "The page you requested cannot be found!"

Started by Dave1960, December 11, 2014, 04:11:34 PM

Previous topic - Next topic

Dave1960


abantecart

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Dave1960

Can you tell me where to find it on the server? I can't log in as admin.

Thank you!

Dave

Dave1960

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


Basara


Dave1960


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

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.

Dave1960


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

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

Dave1960


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


Forum Rules Code of conduct
AbanteCart.com 2010 -