+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: PHP 5.1.4 Help!

  1. #1
    _Xero_'s Avatar
    _Xero_ is offline x10Hosting Member _Xero_ is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    76

    Exclamation PHP 5.1.4 Help!

    I need a bunch code references for the new version of php, mainly for templates cuz the directories changed and such. can someone help me?
    Last edited by _Xero_; 06-27-2006 at 04:45 PM.

  2. #2
    The_Magistrate's Avatar
    The_Magistrate is offline x10 Elder The_Magistrate is an unknown quantity at this point
    Join Date
    May 2005
    Location
    PA
    Posts
    559

    Re: PHP 5.1.4 Help!

    www.php.net

    Not sure what you mean by "the directories changed and such"...
    Getting Started | Terms of Service | Paid Hosting | Forum Rules | Free Server Status | Banned Countries

    If I have helped you through one of my posts, please click the
    blue checkbox on the right below my avatar to add to my reputation.

  3. #3
    _Xero_'s Avatar
    _Xero_ is offline x10Hosting Member _Xero_ is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    76

    Re: PHP 5.1.4 Help!

    well i keep getting errors on templates. the directory for templates was something like "HTML/template/it.php" or something like that, cant remember, but it's not working anymore ever since that new version was installed.

  4. #4
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: PHP 5.1.4 Help!

    That would be the files on your server directly, not the PHP verison installed. Chech the files and make sure they extist!!!

  5. #5
    _Xero_'s Avatar
    _Xero_ is offline x10Hosting Member _Xero_ is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    76

    Re: PHP 5.1.4 Help!

    Warning: require_once(HTML/Template/IT.php) [function.require-once]: failed to open stream: No such file or directory in /home/classx/public_html/template.php on line 3

    Fatal error: require_once() [function.require]: Failed opening required 'HTML/Template/IT.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/classx/public_html/template.php on line 3

    that is the errors im getting. it's not finding the files. im a noob with this stuff, so i tried out a template tutorial, and it told me to include HTML/Template/IT.php to the files or w/e, and it worked until a month or so later when a new version of php was installed. I had version 4 previously.

  6. #6
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: PHP 5.1.4 Help!

    Quote Originally Posted by _Xero_
    Warning: require_once(HTML/Template/IT.php) [function.require-once]: failed to open stream: No such file or directory in /home/classx/public_html/template.php on line 3

    Fatal error: require_once() [function.require]: Failed opening required 'HTML/Template/IT.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/classx/public_html/template.php on line 3

    that is the errors im getting. it's not finding the files. im a noob with this stuff, so i tried out a template tutorial, and it told me to include HTML/Template/IT.php to the files or w/e, and it worked until a month or so later when a new version of php was installed. I had version 4 previously.
    What is this for, a custom site or a CMS???

    your file shoud be located at "/home/classx/public_html/html/Template/IT.php" make sure that the capitols are the same way or else that could be a problem "It's case sensitive"

  7. #7
    _Xero_'s Avatar
    _Xero_ is offline x10Hosting Member _Xero_ is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    76

    Re: PHP 5.1.4 Help!

    I tried that but it did not work. IT.php is the definition for templates correct? I did a tutorial from phpfreaks and it said to include that file from that directory. It worked until I saw that a new version of php was installed. Though im on a new shared server now, but before i was on a different and it worked. So is there a template definition on the server I could use? I'd make my own, but i know nothing about creating such classes:P
    Last edited by _Xero_; 07-07-2006 at 01:07 PM.

  8. #8
    chris218 is offline x10Hosting Member chris218 is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    London, UK
    Posts
    65

    Re: PHP 5.1.4 Help!

    we don't even know what script your talking of.

    PHP is a scripting language, not a script.

  9. #9
    _Xero_'s Avatar
    _Xero_ is offline x10Hosting Member _Xero_ is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    76

    Re: PHP 5.1.4 Help!

    LoL I am aware of it being a scripting language. I'm just a noob with some of this technical stuff. With the older version 4.*, that tutorial on phpfreaks told me to include this: "HTML/Template/IT.php"

    That's all it said, and it worked. I have made a template before. But now it is not working. I found the path to PERL which should have the definition in there, but I'm not sure what the file is. would it be in the HTML namespace: HTML::Template?

  10. #10
    chris218 is offline x10Hosting Member chris218 is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    London, UK
    Posts
    65

    Re: PHP 5.1.4 Help!

    that file is not standard... We can't help you if we don't know what we are helping you with.

    PERL is something totally different..

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [PHP] MySQL and PHP
    By Bryon in forum Tutorials
    Replies: 43
    Last Post: 03-24-2011, 07:27 AM
  2. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  3. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  4. [PHP] PHP For Starters
    By Complex in forum Tutorials
    Replies: 24
    Last Post: 06-14-2008, 11:40 PM
  5. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers