Jump to content
  • 0

[Guidelines] Fix Flux CP Errors


Microsoft

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

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

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

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,

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

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 -.-''

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

guys why i use ur solution it's still error???

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

what kind error is that? can you show me? please?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

O.o did you read my guide carefully?

lol, i think you didn't i tried so many flux cp and still got 0% error.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

same as before.after ichange username..still error.user profile privilage i checked all

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

did you try the step 8? please check.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

ragnarok'@'103.28.23.29 << is this the username ur using?@_@ where is the host anyway?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

:) change it to root.
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

Topic Updated, still found 0% error. For those users who are experiencing flux cp error then follow my guidelines,

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  12/26/12
  • Last Seen:  

THANKS! IT WORKS!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  03/28/13
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   0
  • Joined:  03/29/13
  • Last Seen:  

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

  • 0

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

Hi Renji,

 

Read the original post... Microsoft provided the solution.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   0
  • Joined:  03/29/13
  • Last Seen:  

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

  • 0

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

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  90
  • Reputation:   0
  • Joined:  03/29/13
  • Last Seen:  

@Asura
i remove all cp_*tables in my RO database.still can't log in and register,  what's next?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  01/01/13
  • Last Seen:  

@Asura

i remove all cp_*tables in my RO database.still can't log in and register,  what's next?

remove all cp_ tables then re install flux.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Sir.. I got this error when trying to modify account after login..

 

http://XXXX/milenia/?module=account&action=edit&id=

 

 

Not Found

The requested document was not found on this server.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  244
  • Reputation:   17
  • Joined:  11/19/11
  • Last Seen:  

Sir.. I got this error when trying to modify account after login..

 

http://XXXX/milenia/?module=account&action=edit&id=

 

 

Not Found

The requested document was not found on this server.

 

can you please provide screen shot?

Link to comment
Share on other sites

×
×
  • Create New...