Closed Thread
Results 1 to 10 of 10

Thread: PHP Still not at Intermediate

  1. #1
    Register Chat Arcade is offline x10Hosting Member Register Chat Arcade is an unknown quantity at this point
    Join Date
    Mar 2007
    Posts
    43

    PHP Still not at Intermediate

    Okay it has been well over 3 hours (I went to sleep for over 8 hours and woke up again.) and although I set the php level to intermediate and got an email saying that it had been done the php still isn't working as it should.

    How long will it take for the php settings to switch from the first default one (beginner or something?) to the intermediate setting that I requested and was told that I had got and had been told it was working. Can I please get it set to intermediate now? I thought the problem was that I had to uninstall phpbb and take everything down and then upload the .zip folder and reinstall it and I did do that and it still isn't working. 'Use of eval is forbidden', when will the php settings ACTUALLY go to intermediate?
    Edit:
    Aaaaaaaaaaah! Why is no-one helping?, this message is going to send me insane: 'Fatal error: SUHOSIN - Use of eval is forbidden by configuration in /home/halonirv/public_html/phpBB2/includes/template.php(174) : eval()'d code on line 174'

    My username is 'halonirv', now can the problem be fixed?
    Last edited by Register Chat Arcade; 10-15-2007 at 11:57 AM. Reason: Automerged Doublepost

  2. #2
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,093

    Re: PHP Still not at Intermediate

    Please link to the issue and learn to be more patient. Posting 30 minutes after your original post complaining about no one helping you does not make me want to help you at all.

  3. #3
    Register Chat Arcade is offline x10Hosting Member Register Chat Arcade is an unknown quantity at this point
    Join Date
    Mar 2007
    Posts
    43

    Re: PHP Still not at Intermediate

    Here is a link to the problem: Link

  4. #4
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,093

    Re: PHP Still not at Intermediate

    The problem was with your PHP handlers in your .htaccess file. I commented them out and it should work now.


    -Corey

  5. #5
    Register Chat Arcade is offline x10Hosting Member Register Chat Arcade is an unknown quantity at this point
    Join Date
    Mar 2007
    Posts
    43

    Re: PHP Still not at Intermediate

    Thanks for your help, it makes the forum work now. There is a problem though, when you put those comments in it killed the php include system I had going on my website. So I have both copies of the .htaccess file, one will only let the forum work and one will only let the website work. How can I have both? When you put those comments in my php include commands stopped working from my '.html' pages. These php includes lead to files that command everything except the unique content on the page. Do I really have to choose between having the website work and having the forum work?

  6. #6
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,093

    Re: PHP Still not at Intermediate

    Why don't you rename your .html files to .php?

    We use a separate PHP system (The different PHP configs) and they can't be used in .htaccess like you were doing.

    -Corey

  7. #7
    marc2003 is offline x10Hosting Member marc2003 is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    3

    Re: PHP Still not at Intermediate

    Quote Originally Posted by Register Chat Arcade View Post
    Do I really have to choose between having the website work and having the forum work?
    use ini_set instead. it just means you'll have to add a line of code into each php file before you use your includes. eg

    PHP Code:
    ini_set('include_path''.:/home/username/includes');
    include 
    'blah.php'

  8. #8
    Register Chat Arcade is offline x10Hosting Member Register Chat Arcade is an unknown quantity at this point
    Join Date
    Mar 2007
    Posts
    43

    Re: PHP Still not at Intermediate

    PHP Code:
    ini_set('include_path''.:/home/username/includes'); 
    What would I put for 'include_path'? Do I put '../'? For '.:/home/username/includes' should I put a '/' because all my include files are in the main directory with index.html? Can I use files with '.inc' extensions instead of files with '.php' extensions as includes?

  9. #9
    jkocbek is offline x10Hosting Member jkocbek is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    5

    Re: PHP Still not at Intermediate

    Hello !

    I have the same problem with logging on my phpbb2 forum. My account was successfully updated to level 2 a few hours ago, and I still get the following error "
    Fatal error: SUHOSIN - Use of eval is forbidden by configuration in /home/jkocbek/public_html/includes/template.php(174) : eval()'d code on line 174 "


    Can you fix it Corey?


    Thanks

  10. #10
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,093

    Re: PHP Still not at Intermediate

    If it was updated and you still get the message it just hasn't taken affect yet. It can take a few good hours sometimes depending on server loads.

    -Corey

Closed Thread

Similar Threads

  1. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 10:46 AM
  2. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 11:07 AM
  3. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 10:16 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 03:33 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