Jump to content
  • 0

[FluxCP] Warning: set_time_limit() has been disabled for security reasons


Question

Posted (edited)

this is my error

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/midgardr/public_html/cp/index.php on line 74

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/midgardr/public_html/cp/index.php:74) in /home/midgardr/public_html/cp/index.php on line 139

Warning: Cannot modify header information - headers already sent by (output started at /home/midgardr/public_html/cp/index.php:74) in /home/midgardr/public_html/cp/lib/Flux/Template.php on line 781

i am using windows vps

Edited by glemor123

Recommended Posts

Posted

i download it.. but check

http://auroraro.site90.net/fluxra/

why when i search www.auroraro.site90.net/fluxra its automatically open the main site www.auroraro.site90.net but my baseurl is correct..

'/fluxra' => '', // The base URI is the base web root on which your application lies.

ow.. i forgot.. this is a fluxcp integ. by. rahuldev.. please help..

coz i saw this http://auroraro.site90.net/fluxra/

this is a normal flux cp ryt? i need a integ. by rahul thanks.,.

Posted (edited)

Problems:

  • The page is loads instantly without the installer appearing (sql tables installation)
  • the warning: set_time_limit() has been disabled for security reasons.

Please, kindly help me. /help

Edit:

SOLVED

Edited by Rhaven
Posted (edited)

It's working now but I noticed that it doesn't load all of the content. Like, some of the images and the css are not correct. I don't know why?

more to this... the warning: set_time_limit() is still there.

Edited by Rhaven
Posted (edited)

I've recoded the index.php and disable the line for set_time_limit so it's working now.

The only problem I'm facing right now is that the installer page is not showing when I first run the site. So when I created an account or login there was an error regarding sql tables.

Any ideas?

P.S

I'm using free webhosting right now to test how to run the site perfectly. When its all done, I will upload this to paid hosting.

Thanks.

bump!

Edited by Rhaven
Posted (edited)

Warning: set_time_limit() has been disabled for security reasons in /home/u142644818/public_html/calciumkid/index.php on line 73

Edited by Brian
*merged topics
Posted

try this =) on your index.php

 

 

    // Set time limit.
    set_time_limit((int)Flux::config('ScriptTimeLimit'));
 
to
 
    // Set time limit.
    // set_time_limit((int)Flux::config('ScriptTimeLimit'));

 

it works for me

  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...