Jump to content



Latest News: (loading..)

- - - - -

505 Internal Server Error- Paypal Express

paypal express internal server error

  • Please log in to reply
10 replies to this topic

#1   arun-jack

arun-jack
  • Members
  • 5 posts
  • Real Name:arun

Posted 17 May 2013 - 07:00 AM

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

#2   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,724 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 17 May 2013 - 01:21 PM

@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
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#3   geoffreywalton

geoffreywalton

    Contact me for Support

  • Community Sponsor
  • 8,036 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 18 May 2013 - 11:58 AM

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 ======>>>>>.

#4   MrPhil

MrPhil
  • Members
  • 4,131 posts
  • Real Name:Phil
  • Gender:Male

Posted 19 May 2013 - 09:29 PM

An "Internal Server Error" should be code 500, not 505. Which are you getting? 505 is a rare and totally different error.

#5   geoffreywalton

geoffreywalton

    Contact me for Support

  • Community Sponsor
  • 8,036 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 19 May 2013 - 10:13 PM

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 ======>>>>>.

#6   arun-jack

arun-jack
  • Members
  • 5 posts
  • Real Name:arun

Posted 20 May 2013 - 01:18 AM

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

#7   arun-jack

arun-jack
  • Members
  • 5 posts
  • Real Name:arun

Posted 20 May 2013 - 01:21 AM

@MrPhil

I am sorry.. its 500

#8   arun-jack

arun-jack
  • Members
  • 5 posts
  • Real Name:arun

Posted 20 May 2013 - 01:23 AM

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

#9   geoffreywalton

geoffreywalton

    Contact me for Support

  • Community Sponsor
  • 8,036 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted Yesterday, 11:43 PM

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 ======>>>>>.

#10   arun-jack

arun-jack
  • Members
  • 5 posts
  • Real Name:arun

Posted Today, 01:36 AM

@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

#11   joli1811

joli1811
  • Community Sponsor
  • 768 posts
  • Real Name:john dunlop
  • Gender:Male
  • Location:Ireland

Posted Today, 02:59 AM

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