Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

505 Internal Server Error- Paypal Express


arun-jack

Recommended Posts

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

@@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

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

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

@@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

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

@@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

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

@

 

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

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

@@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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...