Jump to content
  • 0

fresh installed server and fluxcp


Zezicla

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

so i got it both fresh installed nothing changed

the nxt problems occure

 

uppon the download page it just whont show the page for that its just the previus

 

 

 

Error

An error occurred while trying to process your request.

Please try contacting an administrator: admin@localhost

 

 

 

http://127.0.0.1/CP/?module=account&action=view

http://127.0.0.1/CP/?module=purchase

http://127.0.0.1/CP/?module=item

http://127.0.0.1/CP/?module=monster

++

all these dont work :o

 

 

 

how to change or add thing according

like this below just a example this is

Missing Action!

Module: main, Action: staff

Request URI: /CP/?module=main&action=staff

File system location: C:/xampp/htdocs/CP/modules/main/staff.ph


how to make a basic page i can by exmaple let extra info be shown about woe or the server or something radnom

its hard to add a page ?


how to add 1 page ? little guide will be cool :D

i would like a server info page and event and mby more

how too edit the src to make this happen ?

Edited by Zezicla
Link to comment
Share on other sites

20 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

sorry i can't understand at all D:

but for what i know, is that you haven't the path correctly installed for some modules

you have to search directories to findout your .php files and edit them

if there is no .php file you just create one, it's case-sensitive so be carefull

hope it helps (:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

i get this errors

 

Error

An error occurred while trying to process your request.

Please try contacting an administrator: admin@localhost

 

http://127.0.0.1/CP/...unt&action=view

http://127.0.0.1/CP/?module=purchase

http://127.0.0.1/CP/?module=item

http://127.0.0.1/CP/?module=monster

 

 trying to get on these pages ? the rest works

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

it may be that you misconfigured it or you didn't instaled it properly, sorry i'm not very experimented with localhosting, all i can suggest is to try to reinstall D: maybe someone else knows what to do o:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  91
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   34
  • Joined:  06/01/13
  • Last Seen:  

Yea kido he misconfigured :P make sure u change the server database and watever is needed.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

when i use a skin i get this error

 

Module: pages, Action: content

Request URI: /CP/?module=pages&action=content&path=downloads

File system location: C:/xampp/htdocs/CP/themes/3/pages/content.php

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

when i use a skin i get this error

 

Module: pages, Action: content

Request URI: /CP/?module=pages&action=content&path=downloads

File system location: C:/xampp/htdocs/CP/themes/3/pages/content.php

 

that's because the file isn't correctly moved

for example, i needed a "downloads" file in a route, it should be named "doawnloads.php"

i had tthat error too and easy solved it by going to the directory and creating the file myself, then i just added the link to my path and worked

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

but its a clean install ? + i dont have a download dir but i have modules/pages containing add/content/delete/edit/index. php files

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

hmmm if you don't have the file directories you just create them

then just paste this on them (on each file)

<?php if (!defined('FLUX_ROOT')) exit; ?>
Text here
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

<?php
if (!defined('FLUX_ROOT')) exit;
$title    = Flux::message('XCMSPageHeader');
$pages    = Flux::config('FluxTables.CMSPagesTable');

$sql = "SELECT id, title, path, modified FROM {$server->loginDatabase}.$pages ORDER BY id";
$sth = $server->connection->getStatement($sql);
$sth->execute();

$pages = $sth->fetchAll();
?>

 

this is my modules/pages/index.php

same error

what you mean by directories ?

Edited by Zezicla
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

for example, when it says:

"error 404 aditionally couldn't fine trunk/directory/blabla.php"

means that you don't have that file

so, in that case i go to the directory and create the file

inside the file i write this

<?php if (!defined('FLUX_ROOT')) exit; ?>

and that solves the bug for me

i suggest to reinstall it step by step D:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

haha i put on show error's on now i finnaly now what the heck was going on

ill post some while ltrz the real erros i had


the fallowing erros i got

 

Menu: Manage / Add News
Announcements dfgdgdgdgdfggd

by dfgdfg on 2014-02-03

dfgdgdfgdfgdfgdfgdf

read more...

 

read more whants to open http://127.0.0.1/CP/dfgdgf

 

then this

 

Error: Flux_Error

Message: MySQL error (SQLSTATE: 42S02, ERROR: 1146): Table 'ragnarok.item_db2' doesn't exist

File: C:\xampp\htdocs\CP\lib\Flux\Connection\Statement.php:27

File Line Function/Method C:\xampp\htdocs\CP\lib\Flux\TemporaryTable.php 198 Flux_Connection_Statement::execute() C:\xampp\htdocs\CP\lib\Flux\TemporaryTable.php 80 Flux_TemporaryTable::import() C:\xampp\htdocs\CP\modules\account\view.php 16 Flux_TemporaryTable::__construct() C:\xampp\htdocs\CP\lib\Flux\Template.php 337 include() C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php 168 Flux_Template::render() C:\xampp\htdocs\CP\index.php 176 Flux_Dispatcher::dispatch() Exception Trace As String
#0 C:\xampp\htdocs\CP\lib\Flux\TemporaryTable.php(198): Flux_Connection_Statement->execute()#1 C:\xampp\htdocs\CP\lib\Flux\TemporaryTable.php(80): Flux_TemporaryTable->import('ragnarok.item_d...')#2 C:\xampp\htdocs\CP\modules\account\view.php(16): Flux_TemporaryTable->__construct(Object(Flux_Connection), 'ragnarok.items', Array)#3 C:\xampp\htdocs\CP\lib\Flux\Template.php(337): include('C:\xampp\htdocs...')#4 C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php(168): Flux_Template->render()#5 C:\xampp\htdocs\CP\index.php(176): Flux_Dispatcher->dispatch(Array)#6 {main}
Exception Details

Error: Flux_Error

Message: MySQL error (SQLSTATE: 42S02, ERROR: 1146): Table 'ragnarok.item_db2' doesn't exist

File: C:\xampp\htdocs\CP\modules\item\index.php:285

File Line Function/Method C:\xampp\htdocs\CP\lib\Flux\Template.php 337 include() C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php 168 Flux_Template::render() C:\xampp\htdocs\CP\index.php 176 Flux_Dispatcher::dispatch() Exception Trace As String
#0 C:\xampp\htdocs\CP\lib\Flux\Template.php(337): include()#1 C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php(168): Flux_Template->render()#2 C:\xampp\htdocs\CP\index.php(176): Flux_Dispatcher->dispatch(Array)#3 {main}
Exception Details

Error: Flux_Error

Message: MySQL error (SQLSTATE: 42S02, ERROR: 1146): Table 'ragnarok.mob_db' doesn't exist

File: C:\xampp\htdocs\CP\modules\monster\index.php:192

File Line Function/Method C:\xampp\htdocs\CP\lib\Flux\Template.php 337 include() C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php 168 Flux_Template::render() C:\xampp\htdocs\CP\index.php 176 Flux_Dispatcher::dispatch() Exception Trace As String
#0 C:\xampp\htdocs\CP\lib\Flux\Template.php(337): include()#1 C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php(168): Flux_Template->render()#2 C:\xampp\htdocs\CP\index.php(176): Flux_Dispatcher->dispatch(Array)#3 {main}

now i can be helped i guess :D


+ how to let downloads be the same as rules ?
thnx

so what files i need to edit and or add

Edited by Zezicla
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

ok give me a momment it will take me soem time to get it x_x 

ok for the tables, you didn't imported correctly the tables to your sql

huh give me a time need to go now, when back i will take a close look

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

i used the installer and :

Please change your ServerAddress directive in your application config to your server's real address (e.g., myserver.com).

Flux Control Panel

If you are seeing this page, it's likely that you've successfully installed Flux.

Would you like to change this page? Well, here's how you can:

  1. Open "C:\xampp\htdocs\CP\themes\default\main\index.php" in your text editor.

  2. Edit the file from your editor and save your changes.

i imported the server sql files alrdy before

Thanks for using Flux!


aah i think its bcuz i use item_db_re

but how will me server work if change them into without _re well my renewal still work ?

i would prefer to change some code that i will make it _re


i also installed v4p seems working but i got 3 sql files where to put those ?

cp_v4p_sites.sql

cp_v4p_voters.sql

cp_v4p_votelogs.sql

in rangarok or logs db ??

 

Exception Details

Error: Flux_Error

Message: MySQL error (SQLSTATE: 42000, ERROR: 1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

File: C:\xampp\htdocs\CP\lib\Flux\Connection\Statement.php:27

File Line Function/Method C:\xampp\htdocs\CP\modules\voteforpoints\index.php 153 Flux_Connection_Statement::execute() C:\xampp\htdocs\CP\lib\Flux\Template.php 337 include() C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php 168 Flux_Template::render() C:\xampp\htdocs\CP\index.php 176 Flux_Dispatcher::dispatch() Exception Trace As String
#0 C:\xampp\htdocs\CP\modules\voteforpoints\index.php(153): Flux_Connection_Statement->execute()#1 C:\xampp\htdocs\CP\lib\Flux\Template.php(337): include('C:\xampp\htdocs...')#2 C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php(168): Flux_Template->render()#3 C:\xampp\htdocs\CP\index.php(176): Flux_Dispatcher->dispatch(Array)#4 {main}

hi i also whanne add v4p addon but i got 2 sql files

where to import them too ?  cp_vfp_logs.1.sql cp_vfp_sites.1.sql

Edited by Zezicla
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

i used the installer and :

Please change your ServerAddress directive in your application config to your server's real address (e.g., myserver.com). // here you add the page that you use (127.0.0.1 (?))

Flux Control Panel

If you are seeing this page, it's likely that you've successfully installed Flux.

Would you like to change this page? Well, here's how you can:

  1. Open "C:\xampp\htdocs\CP\themes\default\main\index.php" in your text editor.

  2. Edit the file from your editor and save your changes.

i imported the server sql files alrdy before //re-import them, deleted them first lol

Thanks for using Flux!

aah i think its bcuz i use item_db_re //it shpuldn't matter since item_db is managed with pre-re and re folders

but how will me server work if change them into without _re well my renewal still work ? //look for the src of the code where it tells that you need item_db and change it to item_db_re (?)

i would prefer to change some code that i will make it _re //yeah i guess you will need to do some code if it goes like that

i also installed v4p seems working but i got 3 sql files where to put those ? //

cp_v4p_sites.sql // 

cp_v4p_voters.sql // Those go where you have your login char and so on tables

cp_v4p_votelogs.sql //

in rangarok or logs db ?? //

 

Exception Details

Error: Flux_Error

Message: MySQL error (SQLSTATE: 42000, ERROR: 1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

File: C:\xampp\htdocs\CP\lib\Flux\Connection\Statement.php:27

File Line Function/Method C:\xampp\htdocs\CP\modules\voteforpoints\index.php 153 Flux_Connection_Statement::execute() C:\xampp\htdocs\CP\lib\Flux\Template.php 337 include() C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php 168 Flux_Template::render() C:\xampp\htdocs\CP\index.php 176 Flux_Dispatcher::dispatch() Exception Trace As String
// x_x that's why i think it needs reinstall D:! google for fluxcp sql error 1064 (?)#0 C:\xampp\htdocs\CP\modules\voteforpoints\index.php(153): Flux_Connection_Statement->execute()#1 C:\xampp\htdocs\CP\lib\Flux\Template.php(337): include('C:\xampp\htdocs...')#2 C:\xampp\htdocs\CP\lib\Flux\Dispatcher.php(168): Flux_Template->render()#3 C:\xampp\htdocs\CP\index.php(176): Flux_Dispatcher->dispatch(Array)#4 {main}

hi i also whanne add v4p addon but i got 2 sql files // 2 sql files? if they are named different import both

where to import them too ?  cp_vfp_logs.1.sql cp_vfp_sites.1.sql // on the same palce where you have the login char inventory and so on tables

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

well all works now xcept that i need change src to read item_db_re item_db2_re and mob_db_re and mob_d2_re

Edited by Zezicla
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

cool o: i hope i helped you by a little

 

be careful on the src x_x remember 1 mistake and all will be done for D:

 

also remember to make a backup if something bad happens 

 

good luck my friend (:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

y damn :P

but how to make cp read my Renewal sql files ?

bcuz item_db is not item_db_re with new stuff same for 2 and mob files

Edited by Zezicla
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

i'm not sure about that, i would open a new topic on the website section to ask, or go to the post of the fluxcp, thay have to answer if they released the file (if i remember correctly) 

 

huh since you changed some code, i would dig on the files to chane require item_db to item_db_re  in worst case D:!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

too many files ill have to wait

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

yeah D: but i'm kinda sure, there has to be another way, that's why i guess you have to ask them on other topic or on the topic release D:


lol i thinked you googled for it

the whole time lol

found thos topic, it may help?

http://rathena.org/board/topic/60255-fluxcp-renewal-finally-native-rathena-support/

Link to comment
Share on other sites

×
×
  • Create New...