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 (edited)

@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
Posted

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.

Posted (edited)

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
Posted

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

Posted

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.

Posted (edited)

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
Posted

Need Help?

Status: AVAILABLE

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

Posted (edited)

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
Posted

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?

Posted (edited)

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
Posted

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.

Posted (edited)

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
Posted

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

  • Recently Browsing   0 members

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