PHP Still not at Intermediate

Status
Not open for further replies.
Messages
43
Reaction score
0
Points
0
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:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
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.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
The problem was with your PHP handlers in your .htaccess file. I commented them out and it should work now.


-Corey
 
Messages
43
Reaction score
0
Points
0
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?
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
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
 

marc2003

New Member
Messages
3
Reaction score
0
Points
0
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:
ini_set('include_path', '.:/home/username/includes');
include 'blah.php';
:)
 
Messages
43
Reaction score
0
Points
0
PHP:
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?
 

jkocbek

New Member
Messages
5
Reaction score
0
Points
0
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
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
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
 
Status
Not open for further replies.
Top