Jump to content
  • 0

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


darking123

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

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
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

000webhost has some PHP commands disabled. I don't know if other free hosts have them enabled, either.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  

Do you know of any chance any free webhosts?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  257
  • Reputation:   7
  • Joined:  03/12/12
  • Last Seen:  

how can i fix this?

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

how to fix that warning?

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

Which webhost are you using?

Turn off PHP safe mode.

Its best if you have authority to configure your php.ini

http://support.godaddy.com/help/article/119/turning-off-php-safe-mode-on-your-server

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

@RCharles

Thank you. But another problem with my fluxcp. how about this?

Exception Details

Error: PDOException

Message: SQLSTATE[HY000] [1130] Host 'tango.ks.dzfav.net' is not allowed to connect to this MySQL server

File: /home/willrobl/public_html/cp/lib/Flux/Connection.php:81

Edited by WillSuranol
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi WillSuranol,

There has to be permission granted both sides to communicate with each other. Make sure your RO VPS's MySQL user allows 'tango.ks.dzfav.net', and then make sure that your Webhost has whitelisted your RO VPS IP. If you have cPanel, adding the VPS IP in 'MySQL Hosts' would do fine.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

@Asura

how to allow this 'tango.ks.dzfav.net to my VPS? do you have guide?

Edited by WillSuranol
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

It was working fine, I put in my installer password, but forgot to change some things, so I edited servers.php, then reuploaded the files, which is when I got this error.

fluxerror.jpg

Would anyone know how I can fix this by any chance?

~~Thank you! /ok

Edited by Screwdriver
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  195
  • Reputation:   23
  • Joined:  01/05/12
  • Last Seen:  

Hello,

Please check if your mysql server is running.

Hope it helps, goodluck:)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

Hello,

Please check if your mysql server is running.

Hope it helps, goodluck:)

MySQL Workbench is running, I really don't understand what happened. It was working, but now it isn't. /wah

If I go to the "serverRO.com/fluxcp" on my phone it allows me to enter the installer password.

It won't allow me on my PC though.. /pif

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  195
  • Reputation:   23
  • Joined:  01/05/12
  • Last Seen:  

Hello,

Please check if your mysql server is running.

Hope it helps, goodluck:)

MySQL Workbench is running, I really don't understand what happened. It was working, but now it isn't. /wah

If I go to the "serverRO.com/fluxcp" on my phone it allows me to enter the installer password.

It won't allow me on my PC though.. /pif

Hello,

Change another browser or clear your cookies and open the page again.

Hope it helps, goodluck.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Got Error.. installing fluxcp.

Warning: set_time_limit() has been disabled for security reasons in /home/vol9/byethost13.com/b13_12277049/htdocs/main/index.php on line 70

Critical Error

An error was encountered during the lifetime of the application.

This could be due to a variety of problems, such as a bug in the application.

However, normally it is caused by misconfiguration.

Exception Details

Error: PDOException

Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '74.117.63.1' (4)

File: /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Connection.php:81 File Line Function/Method /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Connection.php 81 PDO::__construct() /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Connection.php 94 Flux_Connection::connect() /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Connection.php 159 Flux_Connection::getConnection() /home/vol9/byethost13.com/b13_12277049/htdocs/main/modules/install/index.php 17 Flux_Connection::getStatement() /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Template.php 337 include() /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/vol9/byethost13.com/b13_12277049/htdocs/main/index.php 170 Flux_Dispatcher::dispatch()

Exception Trace As String

#0 /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Connection.php(81): PDO->__construct(*hidden*)

#1 /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config))

#2 /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Connection.php(159): Flux_Connection->getConnection()

#3 /home/vol9/byethost13.com/b13_12277049/htdocs/main/modules/install/index.php(17): Flux_Connection->getStatement('SELECT VERSION(...')

#4 /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Template.php(337): include('/home/vol9/byet...')

#5 /home/vol9/byethost13.com/b13_12277049/htdocs/main/lib/Flux/Dispatcher.php(168): Flux_Template->render()

#6 /home/vol9/byethost13.com/b13_12277049/htdocs/main/index.php(170): Flux_Dispatcher->dispatch(Array)

#7 {main}

Edited by Hatake Kakashi
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  195
  • Reputation:   23
  • Joined:  01/05/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  197
  • Reputation:   13
  • Joined:  05/14/12
  • Last Seen:  

Need Help?

Status: AVAILABLE

lolz i think your the one who need help sir :) contact me

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

yes bcoz i can't remember how to make or install it again.. i stopped playing or making 1 year ago.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

I tried updating the files this time and I get the same error. Am I supposed to link my SQL files with Flux? I'm not really sure what's going on. /meh

Does using a Free Webhost matter in this situation? Could this be the cause of the error?

Edited by Screwdriver
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

You have to change these.

'Hostname' => '127.0.0.1',

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

You have to change these.

'Hostname' => '127.0.0.1',

MySQL databases are on my PC though? Would I change it to "invalidro.co.nf"?

Should I import my MySQL Databases from my localhost to my free webhost?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

So wait, is your server online? Or run locally on your computer?

And your fluxCP is the only part that's on the web?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

So wait, is your server online? Or run locally on your computer?

And your fluxCP is the only part that's on the web?

If I'm understanding you correctly, then yes. MySQL is ran locally from my computer? /hmm

I changed the 'Hostname' => '127.0.0.1' --> 'Hostname' => '71.232.6.17'

I get this error now...

Message: SQLSTATE[HY000] [1130] Host 'srv39.000webhost.com' is not allowed to connect to this MySQL server

How could I fix this? I tried creating a new user with all privileges and host '71.232.6.17' with phpMyAdmin, but it gives me the same error.

I'm sorry for the repetitive errors. /oops

'ServerName'	 => 'InvalidRO',
 // Global database configuration (excludes logs database configuration).
 'DbConfig'	   => array(
  //'Socket'	 => '/tmp/mysql.sock',
  //'Port'	   => 3306,
  //'Encoding'   => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is.
  'Convert'	=> 'utf8',
// -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available.
// -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8)
  'Hostname'   => '71.232.6.17',
  'Username'   => 'master',
  'Password'   => '*************',
  'Database'   => 'ragnarok',
  'Persistent' => true,
  'Timezone'   => null // Example: '+0:00' is UTC.
  // The possible values of 'Timezone' is as documented from the MySQL website:
  // "The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'."
  // "The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'." (see below continuation!)
  // **"Named time zones can be used only if the time zone information tables in the mysql database have been created and populated."
 ),
 // This is kept separate because many people choose to have their logs
 // database accessible under different credentials, and often on a
 // different server entirely to ensure the reliability of the log data.
 'LogsDbConfig'   => array(
  //'Socket'	 => '/tmp/mysql.sock',
  //'Port'	   => 3306,
  //'Encoding'   => null, // Connection encoding -- use whatever here your MySQL tables collation is.
  'Convert'	=> 'utf8',
// -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available.
// -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8)
  'Hostname'   => '71.232.6.17',
  'Username'   => 'master',
  'Password'   => '*************',
  'Database'   => 'ragnarok',
  'Persistent' => true,
  'Timezone'   => null // Possible values is as described in the comment in DbConfig.
 ),
 // Login server configuration.
 'LoginServer'	=> array(
  'Address'  => '71.232.6.17',
  'Port'	 => 6900,
  'UseMD5'   => false,
  'NoCase'   => true, // eA account case-sensitivity; Default: Case-INsensitive (true).
  'Level'	=> 0,	// Default account level during registration.
  //'Database' => 'ragnarok'
 ),
 'CharMapServers' => array(
  array(
'ServerName'	=> 'InvalidRO',
'BaseExpRates'  => 200,
'JobExpRates'   => 200,
'MvpExpRates'   => 200,
'DropRates'	 => 20,
'MvpDropRates'  => 20,
'CardDropRates' => 20,
'MaxCharSlots'  => 9,
'DateTimezone'  => null,	   // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones)
//'ResetDenyMaps' => 'sec_pri',  // Defaults to 'sec_pri'. This value can be an array of map names.
//'Database'	  => 'ragnarok', // Defaults to DbConfig.Database
'CharServer'	=> array(
 'Address'   => '71.232.6.17',
 'Port'	  => 6121
),
'MapServer'	 => array(
 'Address'   => '71.232.6.17',
 'Port'	  => 5121
),

phpmyadmin.jpg

Edited by Screwdriver
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

Well it was a 2 part question.

Is your server (rathena and everything) hosted on a vps or such somewhere? Or on your computer?

You answered the part about MySQL being on your computer.

And that error is really simply your webhost not being allowed to connect to your computer. Probably a firewall issue.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

Well it was a 2 part question.

Is your server (rathena and everything) hosted on a vps or such somewhere? Or on your computer?

You answered the part about MySQL being on your computer.

And that error is really simply your webhost not being allowed to connect to your computer. Probably a firewall issue.

Alright, I added root user, All host %..

I believe the error is fixed.

Do I input the My SQL Username/Password as stated in servers.php?

Alright, everything with Flux is working, but I have one last question;

What does this error mean and how would I fix it if I can?

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

Edited by Screwdriver
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

please help.. here's the link

http://auroraro.site90.net/flux/

there's no wants to help me?

Here's The Error...

Warning: set_time_limit() has been disabled for security reasons in /home/a7742751/public_html/flux/index.php on line 70

and this.

Warning: DOMDocument::load() [domdocument.load]: Start tag expected, '<' not found in http://eathena.my/forum/syndication.php?limit=15, line: 1 in/home/a7742751/public_html/flux/themes/default/main/rsslib.phpon line 77

Link to comment
Share on other sites

×
×
  • Create New...