Zen Cart Logo
Forums / General Questions / In need of serious help... server error

In need of serious help... server error

Views: 994

Results 1 to 12 of 12
24 Aug 2013, 10:10 PM
#1
emmap6493 avatar

emmap6493

New Zenner

Join Date:
Aug 2013
Location:
Manchester, UK
Posts:
16
Plugin Contributions:
0

In need of serious help... server error

Hi All,

I've just discovered that I've got a 'server error' on the ZenCart section of my website (the shop part ONLY). The rest of my website is absolutely fine.

https://northernsouldesigns.com/store/

The last change I made was about three or four hours ago, when I was changing the email disclaimer message in the email_extras.php file (both the admin and non-admin file). I even refreshed many times after the changes, and everything was working perfectly up until now. I can't understand because I haven't made any other changes since then. It must be this file... surely?

There are no failed transfers in FileZilla.

Please help!

Many thanks,
Emma

24 Aug 2013, 10:14 PM
#2
emmap6493 avatar

emmap6493

New Zenner

Join Date:
Aug 2013
Location:
Manchester, UK
Posts:
16
Plugin Contributions:
0

Re: In need of serious help... server error

Not sure if this makes a difference, but I'm logged in to my ZenCart admin page fine. No error getting on there. I've also just sent an email to myself from the admin page too, and all the changes I made to the email_extras.php have saved - no errors in the email.

24 Aug 2013, 10:21 PM
#3
responsivezc avatar

responsivezc

New Zenner

Join Date:
Aug 2013
Posts:
85
Plugin Contributions:
8

Re: In need of serious help... server error

Hi Emma,

Which zencart version are you using ?

If you are using v1.5.x, take a look at your logs folder and let us know the messages on your debug files there.

If you are using v1.3.x, take a look at your cache folder and let us know the messages on your debug files.

Regards

24 Aug 2013, 10:23 PM
#4
emmap6493 avatar

emmap6493

New Zenner

Join Date:
Aug 2013
Location:
Manchester, UK
Posts:
16
Plugin Contributions:
0

Re: In need of serious help... server error

Thank you for the prompt response responsivezc.

I'm using v1.5.x - where can I find this logs file?

Sorry, I'm not very technical, and also not very familiar with the directory yet.

Many thanks,
Emma

24 Aug 2013, 10:25 PM
#5
emmap6493 avatar

emmap6493

New Zenner

Join Date:
Aug 2013
Location:
Manchester, UK
Posts:
16
Plugin Contributions:
0

Re: In need of serious help... server error

Sorry, I've found it!

There are no files in there since 17/08/2013. Can this still be the issue?

Many thanks,
Emma

24 Aug 2013, 10:29 PM
#6
emmap6493 avatar

emmap6493

New Zenner

Join Date:
Aug 2013
Location:
Manchester, UK
Posts:
16
Plugin Contributions:
0

Re: In need of serious help... server error

I've refreshed FileZilla and found this in the logs folder:

"[24-Aug-2013 15:16:42] PHP Parse error: syntax error, unexpected T_STRING in store\includes\languages\english\email_extras.php on line 29"

I can't see how this would be the issue, though - all I changed was the text within the " marks.

24 Aug 2013, 10:33 PM
#7
responsivezc avatar

responsivezc

New Zenner

Join Date:
Aug 2013
Posts:
85
Plugin Contributions:
8

Re: In need of serious help... server error

Hi Emma,

There is an error on this file:
store\includes\languages\english\email_extras.php

Can you please open the file and paste its content here ?
I will point out where the error is.

Regards,

24 Aug 2013, 10:36 PM
#8
emmap6493 avatar

emmap6493

New Zenner

Join Date:
Aug 2013
Location:
Manchester, UK
Posts:
16
Plugin Contributions:
0

Re: In need of serious help... server error

Thank you! Here you go:

"<?php
/**

  • @package admin
  • @copyright Copyright 2003-2011 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: email_extras.php 18698 2011-05-04 14:50:06Z wilt $
    */

// office use only
define('OFFICE_FROM','From:');
define('OFFICE_EMAIL','E-mail:');

define('OFFICE_SENT_TO','Sent To:');
define('OFFICE_EMAIL_TO','E-mail:');
define('OFFICE_USE','Office Use Only:');
define('OFFICE_LOGIN_NAME','Login Name:');
define('OFFICE_LOGIN_EMAIL','Login e-mail:');
define('OFFICE_LOGIN_PHONE','<strong>Telephone:</strong>');
define('OFFICE_IP_ADDRESS','IP Address:');
define('OFFICE_HOST_ADDRESS','Host Address:');
define('OFFICE_DATE_TIME','Date and Time:');

// email disclaimer
define('EMAIL_DISCLAIMER', 'This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to %s');
define('EMAIL_SPAM_DISCLAIMER','This e-mail is sent in accordance with The Privacy and Electronic Communications (EC Directive) Regulations 2003. Removal requests can be sent to this address and will be honoured and respected.');
define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');
define('SEND_EXTRA_GV_ADMIN_EMAILS_TO_SUBJECT','[GV ADMIN SENT]');
define('SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO_SUBJECT','[DISCOUNT COUPONS]');
define('SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT','[ORDERS STATUS]');
define('TEXT_UNSUBSCRIBE', "\n\nTo unsubscribe from future newsletter and promotional mailings, simply click on the following link: \n");

// for whos_online when gethost is off
define('OFFICE_IP_TO_HOST_ADDRESS', 'Disabled');

define('TEXT_EMAIL_SUBJECT_ADMIN_USER_ADDED', 'Admin Alert: New admin user added.');
define('TEXT_EMAIL_MESSAGE_ADMIN_USER_ADDED', 'Administrative alert: A new admin user (%s) has been ADDED to your store by %s.' . "\n\n" . 'If you or an authorized administrator did not initiate this change, it is advised that you verify your site security immediately.');
define('TEXT_EMAIL_SUBJECT_ADMIN_USER_DELETED', 'Admin Alert: An admin user has been deleted.');
define('TEXT_EMAIL_MESSAGE_ADMIN_USER_DELETED', 'Administrative alert: An admin user (%s) has been DELETED from your store by %s.' . "\n\n" . 'If you or an authorized administrator did not initiate this change, it is advised that you verify your site security immediately.');
define('TEXT_EMAIL_SUBJECT_ADMIN_USER_CHANGED', 'Admin Alert: Admin user details have been changed.');
define('TEXT_EMAIL_ALERT_ADM_EMAIL_CHANGED', 'Admin alert: Admin user (%s) email address has been changed from (%s) to (%s) by (%s)');
define('TEXT_EMAIL_ALERT_ADM_NAME_CHANGED', 'Admin alert: Admin user (%s) username has been changed from (%s) to (%s) by (%s)');
define('TEXT_EMAIL_ALERT_ADM_PROFILE_CHANGED', 'Admin alert: Admin user (%s) security profile has been changed from (%s) to (%s) by (%s)');"

24 Aug 2013, 10:42 PM
#9
responsivezc avatar

responsivezc

New Zenner

Join Date:
Aug 2013
Posts:
85
Plugin Contributions:
8

Re: In need of serious help... server error

Hi Emma,

Unfortunately the file content is not complete.
Can you attach the file to this forum ?

24 Aug 2013, 10:43 PM
#10
emmap6493 avatar

emmap6493

New Zenner

Join Date:
Aug 2013
Location:
Manchester, UK
Posts:
16
Plugin Contributions:
0

Re: In need of serious help... server error

Hi,

I copied and pasted all the content which was in the file. Is there something missing?

Many thanks,
Emma

24 Aug 2013, 10:52 PM
#11
emmap6493 avatar

emmap6493

New Zenner

Join Date:
Aug 2013
Location:
Manchester, UK
Posts:
16
Plugin Contributions:
0

Re: In need of serious help... server error

Crisis over!

I copied and pasted the wrong file version before. I found the correct one, and discovered there was an apostrophe missing! Incredible!

Thank you for your guidance!

Many thanks,
Emma

24 Aug 2013, 10:55 PM
#12
responsivezc avatar

responsivezc

New Zenner

Join Date:
Aug 2013
Posts:
85
Plugin Contributions:
8

Re: In need of serious help... server error

I am glad I could help.