Flux Control Panel for Hercules

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!
config/application.php

Code:
'ThemeName' => array('default', 'emphaino'), // Names of the themes you would like to use.  Themes are in FLUX_ROOT/themes. First theme listed will be default theme.
 
Strangely, addons aren't loading for me?

Re-installed and they worked. Whew.

 
Last edited by a moderator:
Yeah, I'm finished on the translation but not completely happy with it ATM due to some issues the very own Spanish language has (it's generally longer and that longer text might break some skins or be uncomfortable to read). That's why it isn't already committed to the repo: it may require some slight changes before it's on there. I have sent a copy myself to some acquaintances that might help me on those issues

Sorry!
Well, the translation was complete since August 16th, I think it's time to release it on its unrevised state so I did add the new strings and voilà. A late gift for everybody: https://github.com/HerculesWS/FluxCP/commit/6c063e57f70ecf2c4cefc4ffa674010a3797b9f0

 
Yeah, I'm finished on the translation but not completely happy with it ATM due to some issues the very own Spanish language has (it's generally longer and that longer text might break some skins or be uncomfortable to read). That's why it isn't already committed to the repo: it may require some slight changes before it's on there. I have sent a copy myself to some acquaintances that might help me on those issues

Sorry!
Well, the translation was complete since August 16th, I think it's time to release it on its unrevised state so I did add the new strings and voilà. A late gift for everybody: https://github.com/HerculesWS/FluxCP/commit/6c063e57f70ecf2c4cefc4ffa674010a3797b9f0
Spanish of.. Spain? x)

Yo no hablar espanol senor.
default_smile.png


 
Well, the goal is going towards the most neutral Spanish I could achieve as you can read on the header of the file but it needed an ISO language code. I can't use only the es code for uniformization issues so I went to es-ES in case of doubt since I can't make it comply with all Spanish varieties.

I'll welcome any proofread and comments and criticism from all Spanish-speaking people.

 
1. go to config/error.php
2. Change the show error handling to true (or 1)
3. Post the new error message
 

 
Last edited by a moderator:
Warning: Invalid argument supplied for foreach() in /public_html/main/lib/Flux.php on line 305



Warning: Cannot modify header information - headers already sent
by (output started at /public_html/main/lib/Flux.php:305)
in /public_html/main/lib/Flux/Template.php on line 860

 
Hello! What are the only privileges/tables fluxCP sql user should have by default? its for security stuff.

Thanks!

 
I mean, is it okay if I could make a user for fluxcp with only Data: "Select","Insert",& "Update" sql permissions?

 
I mean, is it okay if I could make a user for fluxcp with only Data: "Select","Insert",& "Update" sql permissions?
You'll also need CREATE TEMPORARY TABLE and DELETE for normal usage.If you want yo use the builtin install/upgrade functions, you'll also need CREATE, ALTER, DROP, INDEX.

Safe Mode is broken by definition (it tries to solve a problem it should not try to solve at the language interpreter's level.) It was deprecated in of PHP 5.3 and removed in PHP 5.4. Since php 5.2 is unsupported (as of 3 years ago), and php 5.3 is at end-of-life, you can consider safe_mode as some legacy feature that soon won't be available anymore in any production server.
 
Safe Mode is broken by definition (it tries to solve a problem it should not try to solve at the language interpreter's level.) It was deprecated in of PHP 5.3 and removed in PHP 5.4. Since php 5.2 is unsupported (as of 3 years ago), and php 5.3 is at end-of-life, you can consider safe_mode as some legacy feature that soon won't be available anymore in any production server.
i saw on the cpanel the version of my php , its PHP version

5.4.28

so i need to turn off the safe mode?

 
If it's 5.4.x, then there's no safe mode anymore. It is already disabled.

 
If it's 5.4.x, then there's no safe mode anymore. It is already disabled.
Then What supposed to be the problem here?

I used the Green Theme ( http://rathena.org/board/files/file/2991-green-fluxcp-theme ) in Flux CP for hercules.

and then this error appears.

Warning: Invalid argument supplied for foreach() in /public_html/main/lib/Flux.php on line 305

Warning: Cannot modify header information - headers already sent

by (output started at /public_html/main/lib/Flux.php:305)

in /public_html/main/lib/Flux/Template.php on line 860

 
Back
Top