XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: [New] Warning: ini_set
Zendik
New Poster
**




Posts: 1
Registered: 8-4-2013
Member Is Offline


[*] posted on 8-21-2013 at 09:29 PM
[New] Warning: ini_set


Full Board URL: www.southshorecollective.org/forum/
XMB Version: 1.9.11

This morning I woke up to this:

www.southshorecollective.org/forum/


Quote:

Warning: ini_set() has been disabled for security reasons in /home/southsho/public_html/forum/include/global.inc.php on line 42
Error: XMB failed to start due to file corruption. Please inspect /home/southsho/public_html/forum/include/global.inc.php at line number 42.


The only hacks I have are Portal, Karma..

Thanks in advance..
View user's profile View All Posts By User
Mouser
XMB Contributor
********




Posts: 202
Registered: 4-14-2008
Member Is Offline

Mood: Christmasy. Yes, in September.

[*] posted on 8-21-2013 at 09:40 PM


That has nothing to do with the hacks, but with your hosting provider :)
They apparently disabled the php function ini_set(). You should try contacting them.


If magic_quotes is already disabled on your server, then you don't need XMB to do this, and the line of coding can be removed.

Edit the file: /home/southsho/public_html/forum/include/global.inc.php

Look for line 42. I think it will be this one;
Code:
ini_set('magic_quotes_runtime', 0);


Now you have two options;

1: Let XMB use the function every time, but suppress the error message;
Code:
@ini_set('magic_quotes_runtime', 0);


2: Don't let XMB use this function;
Code:
//ini_set('magic_quotes_runtime', 0);
View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2025 The XMB Group
[Queries: 16] [PHP: 14.9% - SQL: 85.1%]