Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    14
    Plugin Contributions
    0

    bug admin\includes\classes\phplot.php imagefontheight() expects parameter 1 to be long, s

    using php 5.3 on my local WinXP

    Applied the patch http://www.zen-cart.com/forum/showth...484#post804484

    still get warning in banners page

    Warning: imagefontheight() expects parameter 1 to be long, string given in [my windows XAMPP path]\admin\includes\classes\phplot.php on line 686

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: admin\includes\classes\phplot.php imagefontheight() expects parameter 1 to be lon

    Unfortunately the phplot class is not compatible with PHP 5.3.
    .

    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.

  3. #3
    Join Date
    Jan 2010
    Posts
    14
    Plugin Contributions
    0

    Idea or Suggestion Re: admin\includes\classes\phplot.php imagefontheight() expects parameter 1 to be lon

    ok but the page still functions - setting the banner attributes? so maybe a dummy class for 5.3?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: admin\includes\classes\phplot.php imagefontheight() expects parameter 1 to be lon

    The page still functions, but won't display the graphs properly.
    .

    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.

  5. #5
    Join Date
    Jan 2010
    Posts
    14
    Plugin Contributions
    0

    Have a Drink Re: admin\includes\classes\phplot.php imagefontheight() expects parameter 1 to be lon

    k still be nice to comment out the lines that emit the warnings in the patch and any other lines of code in other src files

  6. #6
    Join Date
    Jan 2010
    Posts
    14
    Plugin Contributions
    0

    application error Re: admin\includes\classes\phplot.php imagefontheight() expects parameter 1 to be lon

    can we keep this thread open for all my php 5.3 / install /questions :-)

    i have one more

    i read http://www.zen-cart.com/forum/showthread.php?t=94586
    "I have done exactly that language/includes/english/custom/header.php
    but the text remains the same. I refresh the page after i make a change but nothing no change. I was unsure if you had to upload through the template selection as nothing will change when i edit my english/custom/header.php page. If i edit the core file the change takes place. The misses has just walked in and pointed out a spelling error in my custom folder name BINGO. Sorry about that, thanks anyway. "

    my folder name is Ok my Mrs agrees too

    but only changes in my
    /includes/english/header.php appear

    Reminder - have applied the php 5.3 patch

    do i need to go to the [site]/admin page and do something to enable custom?

    my current template is based on classic - but is in a folder called custom

    i enabled this template in /admin and i can see the images and other text from it http://www.collectivejoint.org/

    ---

    Quote Originally Posted by kobra View Post
    What name is this?
    Did you enable it in the admin?

    What is this? There is no upload function?

    Your path for header.php should be if you edited the template_info.php file to read "custom"

    includes/languages/english/custom/header.php

    Which file-entry- line-of-code needs editing for this
    ---
    Your path for header.php should be if you edited the template_info.php file to read "custom"

    --- ??

 

 

Similar Threads

  1. v153 PHP Warning: addslashes() expects parameter 1 to be string
    By BlackOrchidCouture in forum General Questions
    Replies: 2
    Last Post: 17 Sep 2014, 10:47 PM
  2. PHP Warning: mktime() expects parameter 6 to be long
    By milkyway in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 29 Dec 2010, 03:19 PM
  3. PHP Warning mktime() expects parameter 6 to be long
    By dave_dave in forum General Questions
    Replies: 2
    Last Post: 2 Sep 2010, 04:41 AM
  4. Replies: 0
    Last Post: 26 Jun 2010, 12: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