Results 1 to 4 of 4
  1. #1

    Default Fatal error: Call-time pass-by-reference has been removed functions/functions_lookups

    Hello,i building my old site program(lightinthebox),and i have do some thing for it,then it work fine with admin page,but display error with index,so i try to find ful help from here.
    Thanks
    Fatal error: Call-time pass-by-reference has been removed in /home/getappreal/public_html/shop/includes/functions/functions_lookups.php on line 51
    here is my host info:
    Server Information

    Server Host: shop.targetmarts Database Host: localhost (127.0.0.1)
    Server OS: Linux 2.6.32-773.26.1.lve1.4.46.el6.x86_64 Database: MySQL 5.6.36-cll-lve
    Server Date: 03/03/2018 11:28:37 Database Date: 03/03/2018 11:28:37
    Server Up Time: 11:28:37 up 34 days, 21:06, 0 users, load average: 5.33, 5.68, 5.92 HTTP Server: Apache
    PHP Version: 5.6.32 (Zend: 2.6.0) PHP Memory Limit: 128M PHP Safe Mode: Off
    PHP File Uploads: On Max Size: 2M POST Max Size: 8M
    Database Data Size: 7,707 kB Database Index Size: 1,373 kB


    functions_lookups.php on line 51 :
    PHP Code:
          array_unshift(&$countries_array,array('countries_id' => '-1','countries_name' => '-----------------------')); 

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Fatal error: Call-time pass-by-reference has been removed functions/functions_loo

    The problem is you are using zen cart 1.3.8 on php 5.6. That will not work.

  3. #3

    Default Re: Fatal error: Call-time pass-by-reference has been removed functions/functions_loo

    Quote Originally Posted by Design75 View Post
    The problem is you are using zen cart 1.3.8 on php 5.6. That will not work.
    But the admin page work fine,so i think you can help me to fix this.
    Thanks

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Fatal error: Call-time pass-by-reference has been removed functions/functions_loo

    The line 51 you gave is not in the original 1.3.8a file. Can you post +/- 10 lines counting from line 51?
    Bets advice is to upgrade the zen Cart 1.5.5f. You version is mor then 10 years old.

 

 

Similar Threads

  1. v154 PHP Fatal error Call-time pass-by-reference - tpl_yahootreemenu.php
    By RubenZ in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 6 Feb 2015, 05:24 PM
  2. v150 install error wont pass the database: PHP Fatal error: 1101:BLOB/TEXT
    By tparmley2001 in forum Installing on a Windows Server
    Replies: 9
    Last Post: 6 Aug 2012, 04:22 AM
  3. Replies: 2
    Last Post: 21 Aug 2010, 09:13 PM
  4. Probelms with UPS XML shipping mod: Call-time pass-by-reference has been deprecated
    By letsconservenow.com in forum Addon Shipping Modules
    Replies: 0
    Last Post: 29 May 2009, 07:54 PM
  5. Call-time pass-by-reference deprecated
    By matrixman in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 24 Feb 2007, 02:16 PM

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