Firstly love opencart have toyed around with loads of other carts and love the ease of use of this one so kudos to the techies!
Now the problem, basically I have spent the last two days doing a trade website for my employer www.alanprotrade.co.uk (which I am still working on)
However I cannot access the admin backend I get the following error message:
Error: Maximum number of forwards has been exceeded!
I am in a right state at the moment as my boss is screwing that it is not finished, please for the love of god someone help me!!!!!
What's in your /config.php and your /admin/config.php files?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
config.phpJNeuhoff wrote: Any error message in your server logs? Are you using a shared web hosting account, or a dedicated server machine?
What's in your /config.php and your /admin/config.php files?
admin/config.php
Any help appreciated.
Any error messages in your server log files?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I am using plesk, forgive me for being an idiot how would i access these?JNeuhoff wrote: Hmm, your config.php files like fine.
Any error messages in your server log files?
And thanks for your guidance btw
-Dave
Professional Website Services - http://www.davidmgilbert.com/
As regards error logs: After login into Plesk, click on Server (on the left side), then on the Log Settings icon. From there, make sure your error logs are enabled. Then click on General Desktop on the left, then on the Manage Files On Domain icon, which leads to your domain specific file manager, where you should find your error log file.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
JNeuhoff wrote: The error message results from the /library/application/controller.php, in function dispatch, which is called by the /admin/index.php. For some reason the admin's default action (/admin/controller/home.php in function index) has some problems.
As regards error logs: After login into Plesk, click on Server (on the left side), then on the Log Settings icon. From there, make sure your error logs are enabled. Then click on General Desktop on the left, then on the Manage Files On Domain icon, which leads to your domain specific file manager, where you should find your error log file.
Please see:
http://www.alanprotrade.co.uk/error.txt
For error log file/.
Code: Select all
[Tue Jul 22 12:31:44 2008] [error] [client 84.252.237.84] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11496 bytes) in /var/www/vhosts/alanprotrade.co.uk/httpdocs/library/image/image.php on line 72, referer: http://www.alanprotrade.co.uk/admin/index.php?controller=image&action=insert
I just tried the URL http://www.alanprotrade.co.uk/admin/ in my web browser, and rather than coming up with the expected login prompt, it produces the error message: Error: Maximum number of forwards has been exceeded!
Please retrieve your error log again, it should now contain some error messages from my failed attempt to reach the http://www.alanprotrade.co.uk/admin/ . Can you also provide the most recent entries of your access log file, too?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Please see most recent files:JNeuhoff wrote: The only relevant error message I could find was this one:
It suggests memory allocation problems in your PHP settings.Code: Select all
[Tue Jul 22 12:31:44 2008] [error] [client 84.252.237.84] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11496 bytes) in /var/www/vhosts/alanprotrade.co.uk/httpdocs/library/image/image.php on line 72, referer: http://www.alanprotrade.co.uk/admin/index.php?controller=image&action=insert
I just tried the URL http://www.alanprotrade.co.uk/admin/ in my web browser, and rather than coming up with the expected login prompt, it produces the error message: Error: Maximum number of forwards has been exceeded!
Please retrieve your error log again, it should now contain some error messages from my failed attempt to reach the http://www.alanprotrade.co.uk/admin/ . Can you also provide the most recent entries of your access log file, too?
www.alanprotrade.co.uk/accesslog.txt
www.alanprotrade.co.uk/error.txt
Cheers
Code: Select all
[Fri Jul 25 02:10:06 2008] [warn] RSA server certificate CommonName (CN) `www.alanprotrade.co.uk' does NOT match server name!?
[Fri Jul 25 02:10:09 2008] [warn] RSA server certificate CommonName (CN) `www.alanprotrade.co.uk' does NOT match server name!?
Regards, Fido-X.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
The relevant message from the error log is:
Code: Select all
PHP Notice: Undefined index: price in /var/www/vhosts/alanprotrade.co.uk/httpdocs/catalog/template/default/content/category.tpl on line 49, referer: http://www.alanprotrade.co.uk/
Where are your '.htaccess' files? There should be only one located at /var/www/vhosts/alanprotrade.co.uk/httpdocs/.htaccess !
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I was missing the htaccess file have now uploaded nothing new though still the same errorJNeuhoff wrote: OK, now were are getting there.
The relevant message from the error log is:
It should have used a template file from the directory /var/www/vhosts/alanprotrade.co.uk/httpdocs/admin/Code: Select all
PHP Notice: Undefined index: price in /var/www/vhosts/alanprotrade.co.uk/httpdocs/catalog/template/default/content/category.tpl on line 49, referer: http://www.alanprotrade.co.uk/
Where are your '.htaccess' files? There should be only one located at /var/www/vhosts/alanprotrade.co.uk/httpdocs/.htaccess !
Fido-X, He doesn't use the HTTPS protocol, how can that cause this problem?fido-x wrote: The following lines in your log file:-suggest a mismatch between your server security certificate and it's corresponding key. This is a cause of the "Maximum number of forwards has been exceeded" error message - I had the same problem myself after fiddling about with certificates. Make sure that the paths to the certificate and key are correct in your web server's SSL configuration file, or create/buy a new certificate with a matching key.Code: Select all
[Fri Jul 25 02:10:06 2008] [warn] RSA server certificate CommonName (CN) `www.alanprotrade.co.uk' does NOT match server name!? [Fri Jul 25 02:10:09 2008] [warn] RSA server certificate CommonName (CN) `www.alanprotrade.co.uk' does NOT match server name!?
Regards, Fido-X.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
If the security certificate and key do not match the server will have problems - it has nothing to do with OpenCart or it's configuration.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
To alanprotrade: In that case you should get in touch with the customer support, I assume your webhosting service is from http://www.smudge-it.co.uk, isn't it?fido-x wrote: The issue of whether or not he is using HTTPS on his OpenCart installation is independent of the server setting in the Apache server configuration file.
If the security certificate and key do not match the server will have problems - it has nothing to do with OpenCart or it's configuration.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I have reinstalled and done everything again completely have no problems now. It was the SSL that was the problem.
Pig to do it all again however, I am learning more about OC by reinstalling it and it just confirms the software is the nuts, kudos to the dev team you guys rock!
Users browsing this forum: No registered users and 8 guests