Jump to content
  • 0

[Guidelines] Fix Flux CP Errors


Question

Posted (edited)

If you are experiencing like this:

http://i48.tinypic.com/1zdugc6.png

Follow this simple guide:

1. Log in to your phpmyadmin

2. go to privileges

3. Create user

4. put " root " for username, then for the host put " % " so any ip can be used, then for the password put your " MYSQL " password, NOT THE VPS! there are 3 password boxes then put your " MYSQL " password on it.

http://img571.imageshack.us/img571/5174/15530298.jpg

5. Next click Grant all privileges then click " CHECK ALL "

http://img805.imageshack.us/img805/1037/69037447.jpg

6. THEN START CREATING USER!

7. Now you've created a new privileges, now look for it then click edit privileges

http://img29.imageshack.us/img29/2562/41215062.jpg

8. Then look for " Database-specific privileges then add privileges on the following database then look for your RAGNAROK DATABASE, FOR example i had a database name " airo " then start clicking it

http://img829.imageshack.us/img829/6079/96457403.jpg


9. After that you will redirect then follow this.

edit privileges: User 'root'@'%' - Database airo then just check it all then hit GO!

http://img441.imageshack.us/img441/2066/29076738.jpg


Now, You're done! no more flux error, no more http://i48.tinypic.com/1zdugc6.png

geez, im tired reading some topics that having a flux error, NOW NO MORE ERROR ON YOUR FLUX CP ^_^


HAVE A NICE DAY! :P


Regards,


so easy right? :)

BUMP* :))

Edited by Microsoft
  • Upvote 3

Recommended Posts

  • 0
Posted

Nice guide /no1

 

No problem :)

now my Flux CP is working,

but if i login it will say

Unexpected error occurred, please try again or report to an admin.

when i register an account it will register, but it will not say register succesfuly

it will show error but it was registered aldready

 

Look below

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: Flux_LoginError

        

Message: Unexpected error during login.

PDO error info, if any: Array

(

[0] => 42S02

[1] => 1146

[2] => Table 'ragnarok.cp_credits' doesn't exist

)

 

        

File: /home/stylist/public_html/stylisticro/lib/Flux/SessionData.php:333

                

            

                    

File Line Function/Method /home/stylist/public_html/stylisticro/modules/account/create.php 73 Flux_SessionData::login() /home/stylist/public_html/stylisticro/lib/Flux/Template.php 337 include() /home/stylist/public_html/stylisticro/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/stylist/public_html/stylisticro/index.php 170 Flux_Dispatcher::dispatch()

        

        

Exception Trace As String

        

#0 /home/stylist/public_html/stylisticro/modules/account/create.php(73): Flux_SessionData->login('StylisticRO', 'cleopatra14314', 'tangindamoon143...', false)#1 /home/stylist/public_html/stylisticro/lib/Flux/Template.php(337): include('/home/stylist/p...')#2 /home/stylist/public_html/stylisticro/lib/Flux/Dispatcher.php(168): Flux_Template->render()#3 /home/stylist/public_html/stylisticro/index.php(170): Flux_Dispatcher->dispatch(Array)#4 {main}

Well, go to your phpMyAdmin then drop all the existing table, do not drop all the table that fluxcp created, just do drop then refresh if it's still error.

REMEMBER: DROP THE EXISTING TABLE.

 

 

I am sorry, i didn't understand your problem, anyway please do provide a fresh ragnarok database, 

 

This error " [2]=> Table 'ragnarok.cp_credits'doesn't exist " it means you drop all the table that flux cp created, now please do provide a fresh ragnarok database then reinstall the flux again.

 

If you don't want to provide a new one, please do DROP ALL THE TABLE THAT FLUX CP CREATED. and reupload the flux cp's files in your webhost, if you are using rAthena please use " Calcium Kid's Flux CP "

Regards,

  • 0
Posted

Well I got FLUX CP working fine and dandy except for this part >>

 <?php if (!defined('FLUX_ROOT')) exit;
 $this->redirect($this->url('news','view'))
 ?>

the website doesn't even load! LOL

here's the site. http://oraclero.tk

It's not yet done im still fixing it but need help on the CMS addon

LOL! your website is working fine with me -.-''

  • 0
Posted

yeah coz I removed that code :))

Fixed!

The index.php that was specified in the directions

On your webserver, visit themes\default\main and open index.php for editing. Replace everything inside the file to contain this:
 <?php if (!defined('FLUX_ROOT')) exit;
 $this->redirect($this->url('news','view'))
 ?>

Save the file and close. Upon visiting the home page of your site you should now be presented with the News System.

http://rathena.org/board/files/file/2332-flux-cp-cms-addon/

actually the file to edit is not under themes, but under root directory modules\main\index.php

  • 0
Posted (edited)

this is my error

Message: SQLSTATE[28000] [1045] Access denied for user 'ragnarok'@'103.28.23.29' (using password: YES)

File: /home/kloxo/httpd/default/lib/Flux/Connection.php:81

errorflux.jpg

Edited by kangfredy
  • 0
Posted

this is my error

Message: SQLSTATE[28000] [1045] Access denied for user 'ragnarok'@'103.28.23.29' (using password: YES)

File: /home/kloxo/httpd/default/lib/Flux/Connection.php:81

errorflux.jpg

username password mismatch or user profile privilege. /no1

  • 0
Posted

Hello, i got that error when trying to put FluxCP on my web hosting. When try do like guide say, i got a another problem, my hosting blocked function to add or change user's in MyPHPAdmin. When i connected with support, they say: Premade user's is already configurated and you don't need to change those settings. Can i solved this error with some other way?

 

Sorry for bad english btw, if need more information, just ask. Thanks.

  • 0
Posted (edited)

i got this error help :)
 

 

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[28000] [1045] Access denied for user 'root'@'cpanel.asurahosting.com' (using password: YES)


        

File: /home/stylist/public_html/stylisticro/lib/Flux/Connection.php:81

              
                
                

/home/stylist/public_html/stylisticro/lib/Flux/Connection.php 81 PDO::__construct() /home/stylist/public_html/stylisticro/lib/Flux/Connection.php 94 Flux_Connection::connect() /home/stylist/public_html/stylisticro/lib/Flux/Connection.php 159 Flux_Connection::getConnection() /home/stylist/public_html/stylisticro/modules/install/index.php 17 Flux_Connection::getStatement() /home/stylist/public_html/stylisticro/lib/Flux/Template.php 337 include() /home/stylist/public_html/stylisticro/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/stylist/public_html/stylisticro/index.php 170 Flux_Dispatcher::dispatch()

 

 

 

Exception Trace As String

        

#0 /home/stylist/public_html/stylisticro/lib/Flux/Connection.php(81): PDO->__construct(*hidden*)#1 /home/stylist/public_html/stylisticro/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config))#2 /home/stylist/public_html/stylisticro/lib/Flux/Connection.php(159): Flux_Connection->getConnection()#3 /home/stylist/public_html/stylisticro/modules/install/index.php(17): Flux_Connection->getStatement('SELECT VERSION(...')#4 /home/stylist/public_html/stylisticro/lib/Flux/Template.php(337): include('/home/stylist/p...')#5 /home/stylist/public_html/stylisticro/lib/Flux/Dispatcher.php(168): Flux_Template->render()#6 /home/stylist/public_html/stylisticro/index.php(170): Flux_Dispatcher->dispatch(Array)#7 {main}
Edited by Renji Abarai
  • 0
Posted (edited)

now my Flux CP is working,

but if i login it will say
Unexpected error occurred, please try again or report to an admin.

when i register an account it will register, but it will not say register succesfuly

it will show error but it was registered aldready
 

Look below

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: Flux_LoginError


        

Message: Unexpected error during login.

PDO error info, if any: Array

(

[0] => 42S02

[1] => 1146

[2] => Table 'ragnarok.cp_credits' doesn't exist

)

 


        

File: /home/stylist/public_html/stylisticro/lib/Flux/SessionData.php:333



                
            
                    

File Line Function/Method /home/stylist/public_html/stylisticro/modules/account/create.php 73 Flux_SessionData::login() /home/stylist/public_html/stylisticro/lib/Flux/Template.php 337 include() /home/stylist/public_html/stylisticro/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/stylist/public_html/stylisticro/index.php 170 Flux_Dispatcher::dispatch()

        
        

Exception Trace As String

        

#0 /home/stylist/public_html/stylisticro/modules/account/create.php(73): Flux_SessionData->login('StylisticRO', 'cleopatra14314', 'tangindamoon143...', false)#1 /home/stylist/public_html/stylisticro/lib/Flux/Template.php(337): include('/home/stylist/p...')#2 /home/stylist/public_html/stylisticro/lib/Flux/Dispatcher.php(168): Flux_Template->render()#3 /home/stylist/public_html/stylisticro/index.php(170): Flux_Dispatcher->dispatch(Array)#4 {main}
Edited by Renji Abarai
  • 0
Posted

Hi Renji,

You must use either CalciumKid or Xantara's FluxCP with rAthena. And you must use Paradox's FluxCP with eAthena or 3CeaM. So double-check to see if you are using the correct FluxCP version.

If you need to re-install your FluxCP, remember to log into your RO VPS's MySQL database(phpmyadmin) and remove all the cp_* tables inside your RO database.

  • 0
Posted (edited)

now my Flux CP is working,

but if i login it will say

Unexpected error occurred, please try again or report to an admin.

when i register an account it will register, but it will not say register succesfuly

it will show error but it was registered aldready

 

Look below

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: Flux_LoginError

        

Message: Unexpected error during login.

PDO error info, if any: Array

(

[0] => 42S02

[1] => 1146

[2] => Table 'ragnarok.cp_credits' doesn't exist

)

 

        

File: /home/stylist/public_html/stylisticro/lib/Flux/SessionData.php:333

                

            

                    

File Line Function/Method /home/stylist/public_html/stylisticro/modules/account/create.php 73 Flux_SessionData::login() /home/stylist/public_html/stylisticro/lib/Flux/Template.php 337 include() /home/stylist/public_html/stylisticro/lib/Flux/Dispatcher.php 168 Flux_Template::render() /home/stylist/public_html/stylisticro/index.php 170 Flux_Dispatcher::dispatch()

        

        

Exception Trace As String

        

#0 /home/stylist/public_html/stylisticro/modules/account/create.php(73): Flux_SessionData->login('StylisticRO', 'cleopatra14314', 'tangindamoon143...', false)#1 /home/stylist/public_html/stylisticro/lib/Flux/Template.php(337): include('/home/stylist/p...')#2 /home/stylist/public_html/stylisticro/lib/Flux/Dispatcher.php(168): Flux_Template->render()#3 /home/stylist/public_html/stylisticro/index.php(170): Flux_Dispatcher->dispatch(Array)#4 {main}

Well, go to your phpMyAdmin then drop all the existing table, do not drop all the table that fluxcp created, just do drop then refresh if it's still error.

REMEMBER: DROP THE EXISTING TABLE.

Edited by Microsoft
  • Recently Browsing   0 members

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