Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    501
    Plugin Contributions
    0

    Default PHP Error Message

    Hi All,

    Server Host: xxxxx.prod.phx3.secureserver.net (68.178.132.xxx)
    Database: xxxxx_live158Store
    Home: /home/xxxxx/public_html/Server
    OS: Linux 4.18.0-477.27.2.lve.el8.x86_64
    Server Date: 24/11/2023 22:50:21
    Server Up Time: Disabled/UnavailableHTTP
    Server: ApachePHP Version: 8.0.30 (Zend: 4.0.30)PHP
    File Uploads: OnUpload Max Size: 1024M
    PHP Memory Limit: -1POST Max Size: 1024M
    Database Engine: MySQL 10.6.14-MariaDB-cll-lve
    Database Host: localhost (127.0.0.1)
    Database Date: 24/11/2023 22:50:21
    Database Data Size: 280,607 kB
    Database Index Size: 40,767 kB
    MySQL Slow Query Log Status: Off
    MySQL Slow Query Log File: xxxxx-slow.log
    MySQL Mode: NO_ENGINE_SUBSTITUTIONView the database configuration variables

    I am getting this error message:
    [08-Dec-2023 12:31:48 Australia/Sydney] PHP Parse error: syntax error, unexpected ''DOB_FORMAT_STRING'' (T_CONSTANT_ENCAPSED_STRING) in /home/xxxxx/public_html/xxx/includes/languages/lang.english.php on line 13

    This is what is on line 11 to 13:
    change

    'DOB_FORMAT_STRING' => 'dd/mm/yyyy', // from 'DOB_FORMAT_STRING' => 'mm/dd/yyyy',

    What do I need to change in the lang.english.php change the DOB_FORMAT_STING from mm/dd/yyyy to dd/mm/yyyy because we are Australian date format.

    Just don't want to stuff it up by making changes and cause more problems.

  2. #2
    Join Date
    Apr 2009
    Posts
    425
    Plugin Contributions
    2

    Default Re: PHP Error Message

    It is complaining about the content of the language file. Check you have quotes around DOB_FORMAT_STRING and a comma on the end of the previous line.
    I would restore the distribution file then see https://docs.zen-cart.com/user/local...g_date_format/ for how to change date format.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

 

 

Similar Threads

  1. Replies: 7
    Last Post: 16 Dec 2018, 10:02 PM
  2. Updated PHP 5.6 to PHP 7 & Template Error Message / Partial Site Loading
    By animateclay in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 26 Jul 2017, 10:29 PM
  3. Configure.php error message
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Nov 2009, 02:39 PM
  4. Error Message - ot_tax.php error
    By Sbross in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 6 May 2007, 08:28 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR