Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

    help question 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

  2. #2
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

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

  3. #3

    Default 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

  4. #4
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

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

  7. #7

    Default 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,

  8. #8
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

    Default 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)');"

  9. #9

    Default 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 ?

  10. #10
    Join Date
    Aug 2013
    Location
    Manchester, UK
    Posts
    16
    Plugin Contributions
    0

    Default 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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Need Serious Help
    By DJLQD in forum Addon Shipping Modules
    Replies: 3
    Last Post: 21 Oct 2010, 06:56 AM
  2. Need help with very serious fatal error
    By james739 in forum General Questions
    Replies: 2
    Last Post: 24 Jan 2009, 05:54 AM
  3. Serious Zenner help needed: trying to move to new server
    By paulsschwarz in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 9 Aug 2008, 11:21 AM
  4. Serious help required - to set up new Windows server
    By FICBA in forum Installing on a Windows Server
    Replies: 0
    Last Post: 23 Jul 2008, 04:01 PM
  5. I need serious help...anybody
    By james739 in forum General Questions
    Replies: 2
    Last Post: 10 Jun 2007, 03:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg