csilverc Posted November 13, 2013 Share Posted November 13, 2013 (edited) Hi, I have blank index and this warnings in error_log file; [12-Nov-2013 08:10:16 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/gafemana/public_html/config/config.inc.php on line 41 [12-Nov-2013 08:10:16 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/gafemana/public_html/config/config.inc.php on line 42 [12-Nov-2013 08:10:16 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/gafemana/public_html/config/config.inc.php on line 43 How can i fix this ? Edited November 13, 2013 by csilverc (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 hello ask your hoster to enable this function, it's necessary Link to comment Share on other sites More sharing options...
csilverc Posted November 13, 2013 Author Share Posted November 13, 2013 I've sent a ticket but they said "we can not enable this function for security reasons" there is not any alternate? Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 in config/config.inc.php file comment these lines, like i show below: /* ini_set('upload_max_filesize', '100M'); ini_set('default_charset', 'utf-8'); ini_set('magic_quotes_runtime', 0); */ and in nearest occasion change hoster ;) Link to comment Share on other sites More sharing options...
csilverc Posted November 13, 2013 Author Share Posted November 13, 2013 I've got another host. What must I do for moving my site ? Ive got backup. Whats the way ? Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 you need to move all you files to new host, and also export database, and then - import it to your new host Link to comment Share on other sites More sharing options...
csilverc Posted November 13, 2013 Author Share Posted November 13, 2013 Ok Im trying. thanks a lot =) I hope thats work on new host. Link to comment Share on other sites More sharing options...
csilverc Posted November 13, 2013 Author Share Posted November 13, 2013 now there is this warning in error_log file: [13-Nov-2013 17:09:52 Europe/Istanbul] PHP Warning: ini_set() has been disabled for security reasons in /home/bitajans/public_html/manav/config/config.inc.php on line 41 [13-Nov-2013 17:09:52 Europe/Istanbul] PHP Warning: ini_set() has been disabled for security reasons in /home/bitajans/public_html/manav/config/config.inc.php on line 42 [13-Nov-2013 17:09:52 Europe/Istanbul] PHP Warning: ini_set() has been disabled for security reasons in /home/bitajans/public_html/manav/config/config.inc.php on line 43 [13-Nov-2013 17:09:52 Europe/Istanbul] PHP Warning: require_once() [<a href='function.require-once'>function.require-once</a>]: Unable to access /home/bitajans/public_html/manav/config/../classes/Autoload.php in /home/bitajans/public_html/manav/config/autoload.php on line 30 [13-Nov-2013 17:09:52 Europe/Istanbul] PHP Warning: require_once(/home/bitajans/public_html/manav/config/../classes/Autoload.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/bitajans/public_html/manav/config/autoload.php on line 30 [13-Nov-2013 17:09:52 Europe/Istanbul] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/bitajans/public_html/manav/config/../classes/Autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bitajans/public_html/manav/config/autoload.php on line 30 Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 open files mentioned in error code and comment code with init_set command like you did before Link to comment Share on other sites More sharing options...
PascalVG Posted November 14, 2013 Share Posted November 14, 2013 Also, for require_once() line: maybe check permissions of file: /home/bitajans/public_html/manav/classes/Autoload.php (777?) My 2 cents, pascal Link to comment Share on other sites More sharing options...
tuk66 Posted November 14, 2013 Share Posted November 14, 2013 Look if you have the /config/autoload.php file on the server. Perhaps not all files was successfully uploaded. Link to comment Share on other sites More sharing options...
Recommended Posts