Flux Control Panel for Hercules

Well i dont know if any 1 else is facing this problem or not but what i have observed is that my website opens very slowly. it takes lot of time for an action to perform. even my players complain the same thing. Is it because of hercules flux cp i am using?? Thing is the web host i am using right now is godaddy and i have another website hosted on godaddy too which is using same package that i using for my server website. i called godaddy to get a solution for this and i was told that this maybe because i am using shared hosting so that's why the website is taking time to load. But, my other website is also using the same package and i dont face any problem in loading that site. So is it due to flux cp? what could be a solution for this?

 
It could be a bad connection on your host machine or even lack of resources, which usually happens on oversold machines or that your neighbouring clients are using resource-intensive web pages.

 
Also, is the database hosted remotely? (since I'm guessing you don't run Hercules in a shared web-host.) A slow connection between the database host and the web host can be at fault, too.

 
I have installed the FLUX panel 3 times to try to fix those errors.

This is a fresh instalation. I'm wondering why my Flux CP creates a file called "error_log" in the root of my hosting.

[27-Mar-2014 08:39:03 America/Los_Angeles] PHP Strict Standards:  Accessing static property Flux_Mailer::$errLog as non static in /home/enkoro/public_html/lib/Flux/Mailer.php on line 21
[27-Mar-2014 08:39:03 America/Los_Angeles] PHP Strict Standards:  Accessing static property Flux_Mailer::$log as non static in /home/enkoro/public_html/lib/Flux/Mailer.php on line 22

Thanks for any help.

 
It's trying to access the static properties $errLog and $log, when isn't on a static function.

Code:
$this->errLog = self::$errLog;$this->log    = self::$log;
 
Last edited by a moderator:
It's trying to access the static properties $errLog and $log, when isn't on a static function.

$this->errLog = self::$errLog;$this->log = self::$log;
So, is it something normal? do i have to worry about it? thanks

 
You may remove/comment these lines, the properties values has been set at the preceding lines.

Code:
if (!self::$errLog) {    self::$errLog = new Flux_LogFile(FLUX_DATA_DIR.'/logs/errors/mail/'.date('Ymd').'.log');}if (!self::$log) {    self::$log = new Flux_LogFile(FLUX_DATA_DIR.'/logs/mail/'.date('Ymd').'.log');}
 
Last edited by a moderator:
Also, it creates an error log in your root folder to show you errors it encounters - typically used to debug (fix) what get spits out.

 
Hi,

I don't know how to describe this. So I made a video. The point of this error is that, I cannot view the accounts characters. It returns with the error which I don't know how to fix. Is this a bug?

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
Hi,

I don't know how to describe this. So I made a video. The point of this error is that, I cannot view the accounts characters. It returns with the error which I don't know how to fix. Is this a bug?

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
I didn't watch the video, but maybe you didn't import the sql item_db? I've seem a thread with this issue and the user solved it by importing the item_db sql into phpmyadmin

 
Hi,

I don't know how to describe this. So I made a video. The point of this error is that, I cannot view the accounts characters. It returns with the error which I don't know how to fix. Is this a bug?

To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
I fixed everything with this post http://herc.ws/board/topic/1901-flux-control-panel-for-hercules/?p=13124. I am a bit confused here at first maybe I lack of understanding.

 
Last edited by a moderator:
Hello there,

I'm wondering why I get this warning after trying to ban an IP from "Add IP Ban"

Sorry, no form session found (hack attempt ?)

was the "Add IP Ban" deleted from Hercules Flux Panel?

 
Hello there,

I'm wondering why I get this warning after trying to ban an IP from "Add IP Ban"

Sorry, no form session found (hack attempt ?)

was the "Add IP Ban" deleted from Hercules Flux Panel?
you didn't updated your theme with the new security patch
Wait... what do you mean? Im using the latest Flux version....
do you use a custom theme?
yes sir.

 
Hello there,

I'm wondering why I get this warning after trying to ban an IP from "Add IP Ban"

Sorry, no form session found (hack attempt ?)

was the "Add IP Ban" deleted from Hercules Flux Panel?
you didn't updated your theme with the new security patch
Wait... what do you mean? Im using the latest Flux version....
do you use a custom theme?
yes sir.
so look again at the link that I've posted and apply the changes made to default theme into your custom theme

 
At your form, you need to generate a token stored in session to avoid CSRF.

Code:
<?php echo Flux_Security::csrfGenerate('IPBanAdd', true); ?>
 
Hello, I tried using my custom theme and have the latest security patch but it's still not letting me make that the default theme. I'm guessing I used an old theme that works only with rAthena because I downloaded the theme from their forum. Is there a special code that I need to put somewhere in the header or footer for it to load? Thanks!

 
Back
Top