arun-jack Posted May 17, 2013 Share Posted May 17, 2013 Dear All, I recently working on oscommerce shopping cart. i had installed the oscommerce in my local computer in which the sandbox testing is working where as when i upload it to the online server via ftp. i get the error as internal server error. as i am new to the php as well the oscommerce reallt confused and helpless. thanks in advance. Regards. Arun Link to comment Share on other sites More sharing options...
Guest Posted May 17, 2013 Share Posted May 17, 2013 @@arun-jack Check with your hosting provider and ask them to check the setup. Then, check your two configure.php files and also the .htaccess file to ensure you have them correct. Also remember that when you tested PayPal in sandbox mode, you will need to get new API keys for the live server. Chris Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted May 18, 2013 Share Posted May 18, 2013 505 HTTP Version Not Supported Is this on every page or just when you are testing the PP module? Does it happen in the shop admin? Often it is because the syntax of the commands in the .htaccess file is invalid or there is some haker code in there e.g. an autoprepend statement. Have a look in your server logs, there is often more nfo there. HTH G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
MrPhil Posted May 19, 2013 Share Posted May 19, 2013 An "Internal Server Error" should be code 500, not 505. Which are you getting? 505 is a rare and totally different error. Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted May 19, 2013 Share Posted May 19, 2013 Certainly is. The only time I have heard of it is when the htaccess was being updated by a script and addin a line containing x or ss Both of which then caused this error. And the other one was when a hacker started adding code to the htaccess file and the syntax was incorrect!! Like you I suspect it is really a 500. Spooky!!! G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
arun-jack Posted May 20, 2013 Author Share Posted May 20, 2013 @@DunWeb i checked with web server they said as below There seems to be some permissions issue on the file paypal_express.php which doesn't execute permission. We have added it for you. The error logs seems refer to some issues on one of the php script. Below is the log for your reference. [Thu May 16 22:59:23 2013] [warn] mod_fcgid: stderr: PHP Warning: session_save_path() [<a href='function.session-save-path'>function.session-save-path</a>]: Unable to access /var/www/vhosts/xxxxxx.com/httpdocs/catalog/includes/work/ in /var/www/vhosts/xxxx.com/httpdocs/demo/shopcart/admin/includes/functions/sessions.php on line 165 ya i have two API details one for live and other for sandbox. i tested with both still getting internal server error. but it works perfectly with sandbox in my localhost. Link to comment Share on other sites More sharing options...
arun-jack Posted May 20, 2013 Author Share Posted May 20, 2013 @@MrPhil I am sorry.. its 500 Link to comment Share on other sites More sharing options...
arun-jack Posted May 20, 2013 Author Share Posted May 20, 2013 @@geoffreywalton i am sorry its 500. i check with frontend as a user to checkout the products with paypal and with the backend as admin logged in to test the API. at both the instances i get the internal server error. Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted May 21, 2013 Share Posted May 21, 2013 Does this directory exist on your server? /var/www/vhosts/xxxxxx.com/httpdocs/catalog/includes/work/ If it does what are the permissions on it? Is the path the same as the one you can see when you go to your shop admin >> Tools >> Backup? Cheers G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
arun-jack Posted May 22, 2013 Author Share Posted May 22, 2013 @@geoffreywalton Thank you so much for the reply. permission for /var/www/vhosts/xxxxxx.com/httpdocs/catalog/includes/work/ is 755 i went to admin/tools then i found this Database Backup Manager. Backup Directory: /var/www/vhosts/xxxxxx.com//httpdocs/catalog/admin/backups/ Regards Arun Link to comment Share on other sites More sharing options...
♥joli1811 Posted May 22, 2013 Share Posted May 22, 2013 Backup Directory: /var/www/vhosts/xxxxxx.com//httpdocs/catalog/admin/backups/ /var/www/vhosts/xxxxxx.com//httpdocs/catalog/admin/backups/ Does not look right to me would find where the extra slash is coming from check your configure files again. Regards Joli To improve is to change; to be perfect is to change often. Link to comment Share on other sites More sharing options...
arun-jack Posted May 22, 2013 Author Share Posted May 22, 2013 @ sorry its single slash onli while edit the domain name by mistake added one slash extra. now below is the path from my website /var/www/vhosts/xxxx.com/httpdocs/catalog/admin/backups/ Regards, Arun Link to comment Share on other sites More sharing options...
MrPhil Posted May 22, 2013 Share Posted May 22, 2013 Did you get this error straightened out yet? mod_fcgid: stderr: PHP Warning: session_save_path() [<a href='function.session-save-path'>function.session-save-path</a>]: Unable to access /var/www/vhosts/xxxxxx.com/httpdocs/catalog/includes/work/ in /var/www/vhosts/xxxx.com/httpdocs/demo/shopcart/admin/includes/functions/sessions.php on line 165 As you can see, you're running in /var/www/vhosts/xxxx.com/httpdocs/demo/shopcart/, while you're trying to access something (I'm not sure what) in /var/www/vhosts/xxxx.com/httpdocs/catalog/. That sounds like something in one of the configure.php files has a wrong path. /catalog/ vs. /demo/shopcart/. Link to comment Share on other sites More sharing options...
arun-jack Posted May 27, 2013 Author Share Posted May 27, 2013 @@MrPhil Thanks for the reply. and i checked the log files as you said the path are different which i modified. now below were the error in log files. [Mon May 27 15:35:27 2013] [warn] mod_fcgid: read data timeout in 40 seconds [Mon May 27 15:35:27 2013] [error] [client xxx.xx.xxx.xx] Premature end of script headers: express.php, referer: http://xyz.com/catalog/admin/modules.php?set=payment&module=paypal_express Regards, Arun Link to comment Share on other sites More sharing options...
MrPhil Posted May 27, 2013 Share Posted May 27, 2013 I take it that express.php is something added by PayPal Express? You might want to compare the PayPal files against a fresh copy -- maybe something got corrupted. Google mod_fcgid Premature end of script headers to read up on that error in general and how it relates to fcgid. It's possible that you may have to get your hosting tech support involved, if PPE is trying to use some feature that isn't installed or is misconfigured. Link to comment Share on other sites More sharing options...
burt Posted May 27, 2013 Share Posted May 27, 2013 The express.php file is at: /ext/modules/payment/paypal/ make sure it is not corrupted as @@MrPhil says. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.