Zen Cart Logo
Forums / General Questions / my account - 500 Internal Server Error

my account - 500 Internal Server Error

Locked

Views: 995

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
4 Jul 2010, 11:55 PM
#1
nerdhaven_comics avatar

nerdhaven_comics

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

my account - 500 Internal Server Error

I am having an issue where the "My Account" comes up with a "500 -Internal Server Error" message. Essentially, a customer can not edit password, check history, etc.

http://www.nerdhavencomics.com/index...n_page=account

I can not figure out what php is messed up or anything. its driving me NUTS.

any advice? I am sure a file is corrupt, but as i am using a template add-on and several mods, I can not figure out which one. I may have screwed myself here.

5 Jul 2010, 12:55 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: my account - 500 Internal Server Error

First, switch to the Classic Template ... does this fix things?

If not ... reload the files for:
/includes/modules/pages/account

does this work?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Jul 2010, 6:55 AM
#3
nerdhaven_comics avatar

nerdhaven_comics

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: my account - 500 Internal Server Error

apparently, i have a corrupt page somewhere. I have upgraded to 1.3.9d, reinstalled all account folders in the "pages" folder as mentioned above, and nothing works. Everytime i get routed to the "...index.php?main_page=account" page, i get the 500 internal server error. I can NOT get this figured out. :censored:

edit** oh, and the classic template has the same problem

5 Jul 2010, 2:00 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: my account - 500 Internal Server Error

Could you look in your /cache and see what debug errors are showing in the log files?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Jul 2010, 7:43 PM
#5
nerdhaven_comics avatar

nerdhaven_comics

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: my account - 500 Internal Server Error

inside of the /cache folder on my server i have several logs. are you needing the most recent? or te most recent couple?

[05-Jul-2010 06:50:03] PHP Parse error: syntax error, unexpected T_STRING in D:\Hosting\5937103\html\includes\languages\english\account_history_info.php on line 21

[05-Jul-2010 06:50:18] PHP Parse error: syntax error, unexpected T_STRING in D:\Hosting\5937103\html\includes\languages\english\account_history_info.php on line 21

[05-Jul-2010 06:50:46] PHP Parse error: syntax error, unexpected T_STRING in D:\Hosting\5937103\html\includes\languages\english\account_history_info.php on line 21

[05-Jul-2010 00:40:02] PHP Parse error: syntax error, unexpected T_STRING in D:\Hosting\5937103\html\includes\languages\english\account_history_info.php on line 21

[05-Jul-2010 00:39:59] PHP Parse error: syntax error, unexpected T_STRING in D:\Hosting\5937103\html\includes\languages\english\account_history_info.php on line 21

when looking at line 21 of the above mentioned .php file the only thing that jumps out is that there is an apostraphe in SUBSCRIBER'S ADDRESS that may be throwing off the syntak coding? ('HEADING_DELIVERY_ADDRESS', 'Subscriber's Address');

6 Jul 2010, 12:27 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: my account - 500 Internal Server Error

That needs to be escaped or php thinks that is the end of the define ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jul 2010, 12:31 AM
#7
nerdhaven_comics avatar

nerdhaven_comics

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: my account - 500 Internal Server Error

Ajeh:

That needs to be escaped or php thinks that is the end of the define ...

okay pardon my ignorance on this part... how would i go about that? i am not so good at the coding files. :no: most of my knowledge is add-ons and simple stuff.

6 Jul 2010, 2:36 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: my account - 500 Internal Server Error

You can escape the single quote mark with a backslash ** using;

define('HEADING_DELIVERY_ADDRESS', 'Subscriber[B]\[/B]'s Address');

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jul 2010, 3:07 AM
#9
nerdhaven_comics avatar

nerdhaven_comics

New Zenner

Join Date:
Jul 2010
Posts:
7
Plugin Contributions:
0

Re: my account - 500 Internal Server Error

you are a LIFESAVER!!!!!! thanks Linda, I owe you a nice cold one. :cheers:

6 Jul 2010, 3:31 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: my account - 500 Internal Server Error

Thanks for the update that this worked for you ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!