MY 68 classifieds script isn't working

jascul

New Member
Messages
8
Reaction score
0
Points
0
This is the error i get on this server, I haven't made any code changes and it does work on another free web hosting site. Is it the PHP? Please let me know.

Fatal error: SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/jascul/public_html/includes/classes/smarty/Smarty_Compiler.class.php(270) : regexp code on line 270
Edit:
Here is the code and line 270

/* replace special blocks by "{php}" */
$source_content = preg_replace($search.'e', "'"
. $this->_quote_replace($this->left_delimiter) . 'php'
. "' . str_repeat(\"\n\", substr_count('\\0', \"\n\")) .'"
. $this->_quote_replace($this->right_delimiter)
. "'"
line 270 , $source_content);
 
Last edited:

Nathan H

New Member
Messages
562
Reaction score
0
Points
0
preg_replace is a function in php that has been banned at your current PHP level. If you log in to x10hosting.com you can see there is 3 different levels of PHP available. This is done to help protect the servers from unnecessary stress/damage. You can request a version upgrade from that page, this is not an issue but a security feature.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
It could take up to six hours for your account's PHP version to be upgraded, the scripts require certain services to go offline temporarily and so aren't run too often, it causes the least downtime this way. Just something you ought to be aware of.

-Luke.
 

jascul

New Member
Messages
8
Reaction score
0
Points
0
Ok, my main site is working. So I'm guessing its been upgraded. Now when i log into the administration side I get this error.

http://www.springfieldmoclassifieds.com

http://www.springfieldmoclassifieds.com/administration

Warning: php_uname() has been disabled for security reasons in /home/jascul/public_html/administration/includes/init.php on line 3

Do I have to upgrade another level just to use this classified script? OR should I give up and look for another free host that offers the php options I need for the script.
Edit:
Alright, its been three or four days since I've created my account and upgraded my php version. MY main site is working now and I'm waiting on someone to fix the php_uname() security settings so that I may use the administration side of my classifieds script. Thanks for your help and please let me know what I must do.
Edit:
Everything is working but for the administration side of my classifieds script, the host has error reporting turned off so all I see is a blank page when I goto http://www.springfieldmoclassifieds.com/administration/

I can put login.php and the end and it shows the login but if I try to login it shows another blank page. It should show my administration control panel for the script. This all works on another host but they won't enable the mail and other things the script needs to run completely. If you can help please let me know.
 
Last edited:

Nathan H

New Member
Messages
562
Reaction score
0
Points
0
I am unaware of anything else normal users can suggest. You could place a post in Free Hosting (making sure to link to this thread) for support from higher staff members.
 
Top