Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default EZPages Error in log file after installing addons

    Hello.

    version 139h .
    Mysql 5.0.86 .

    I have installed two addon for EZPages , Multilingual EZPages, and
    Improved version of ezpages.

    before uploading the site to hosting server, i noticed my debug file contains following error.

    PHP Warning: trim() expects parameter 1 to be string, array given in ....\admin \ezpages.php line 140

    PHP Warning: addslashes() expects parameter 1 to be string, array given in ..\admin\includes\functions\database.php on line 65

    can someone please tell me whats wrong and hot to fix this .. I am not sure as what causing this problem as i been looking into my cache folder every time i did change something to make sure i have no errors.

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: EZPages Error in log file

    it seems this warning caused by creating / updating ezpages .

    admin/ ezpages.php was modified by multilingual ezpages , however, line mentioned in warning is identical to untouched ezpages.php .

    any advice ?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: EZPages Error in log file

    Quote Originally Posted by tony_sar View Post
    however, line mentioned in warning is identical to untouched ezpages.php .
    No it's not.

    This is the original line 140, and there's no mention of trim() at all there:
    Code:
                                      'status_sidebox' => $status_sidebox,
    Others have reported the same error message in conjunction with your addon. I suggest you sort out the addon problem in the appropriate support thread, or don't use that addon.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: EZPages Error in log file after installing addons

    Thanks.
    I tried to find the thread for this add on , but i must be looking wrong places.

    I do need this addon as i am using ezpages as navigation and being located in Country of Quebec i need french or i will have a visit from police language . woow what a country .

  5. #5
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: EZPages Error in log file after installing addons

    sovvvy , i found the thread. i posted there. thanks.

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: EZPages Error in log file after installing addons

    line 140 corresponds to line 125 ..

    if ($pages_html_text !='' and strlen(trim($pages_html_text)) > 6) {

    is identical ..

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: EZPages Error in log file after installing addons

    Quote Originally Posted by tony_sar View Post
    line 140 corresponds to line 125 ..

    if ($pages_html_text !='' and strlen(trim($pages_html_text)) > 6) {

    is identical ..
    That line may be the same, but it's making references to variables which clearly have been altered earlier in the code to be arrays instead of strings.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v150 Installing addons that update the same file
    By joem83 in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 31 Aug 2012, 04:09 AM
  2. Specials are not working when product added to cart after installing addons
    By briarproof in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 Jan 2012, 05:52 PM
  3. Log In Problems After Installing Security Patch
    By fagriffin in forum General Questions
    Replies: 3
    Last Post: 17 Aug 2009, 12:54 AM
  4. unable to log into admin after installing on server
    By Soul39 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 5 Jan 2009, 11:07 PM
  5. PHP error in log file after install
    By flame in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Aug 2006, 02:58 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