Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.13 15:51:00 -
[1]
excuse me if i sound stupid but what is needed to be changed in the cinfiguration.php
a bit of a idiot with such things sadly
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.14 23:05:00 -
[2]
sent you a ingame mail
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.15 20:49:00 -
[3]
Originally by: Mikk36
Originally by: Karina Hoeeg Sorry. keep getting a error when trying to log in.
how should I write the things in the config.
this is how I wrote it: public $Auth = array( 'saphyron' => '123456' );
public $Dsn = 'mysql://saphyron_caerbear:826066@saphyron/saphyron_caerbear2';
and what is charID. is that the excat name of of the char or what is it?
p.s. im psyrelle
Can you log in with the default Auth values? Your charID is what it sounds like: the ID of your character, not name. You can find it from your image here in the forum for exameple. Look up it's image name. The DSN setting looks odd, have you just scrambled it to look odd?
got it too work now i wrote the database wrongly and the charid.
after that i could log in.
now im just waiting for it to get info about corp and its members.
do you know how long that takes?
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.16 15:29:00 -
[4]
Originally by: NoNah
Originally by: Psyrelle
Originally by: Mikk36
Originally by: Karina Hoeeg Sorry. keep getting a error when trying to log in.
how should I write the things in the config.
this is how I wrote it: public $Auth = array( 'saphyron' => '123456' );
public $Dsn = 'mysql://saphyron_caerbear:826066@saphyron/saphyron_caerbear2';
and what is charID. is that the excat name of of the char or what is it?
p.s. im psyrelle
Can you log in with the default Auth values? Your charID is what it sounds like: the ID of your character, not name. You can find it from your image here in the forum for exameple. Look up it's image name. The DSN setting looks odd, have you just scrambled it to look odd?
got it too work now i wrote the database wrongly and the charid.
after that i could log in.
now im just waiting for it to get info about corp and its members.
do you know how long that takes?[/quote
Depends on when you set your cron to cycle, worst case you can update it manually, which might be an easier way of catching errors aswell.
It should be mentioned that you need to import one of the static .sqls aswell, not just the carebear.sql. I havn't looked at the differences between 1 and 2.
okay did not know that.
and how to manuelly update the file and how to i set the update interval?
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.19 09:48:00 -
[5]
Originally by: Mikk36 NoNah, both static files are needed, the data is just split up to make the files a bit smaller.
Originally by: Psyrelle and how to manuelly update the file and how to i set the update interval?
You can manually open the cron.php file in your browser. To automatically call it, you have to find your hosting provider's panel and find the cron tab from there. For further instructions, contact your hosting provider.
I am getting this error when I open cron.php
<br /> <b>Warning</b>: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Unknown MySQL server host 'saphyron' (1) in <b>/home/saphyron/public_html/test_carebear/adodb5/drivers/adodb-mysql.inc.php</b> on line <b>365</b><br /> Connection failed
I think I might have wrote something wrong in the configuration.php but I am a idiot to this kind of things.
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.19 22:23:00 -
[6]
Edited by: Psyrelle on 19/05/2011 22:24:02
Originally by: Tonto Auri
Originally by: Psyrelle I am getting this error when I open cron.php
<br /> <b>Warning</b>: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Unknown MySQL server host 'saphyron' (1) in <b>/home/saphyron/public_html/test_carebear/adodb5/drivers/adodb-mysql.inc.php</b> on line <b>365</b><br /> Connection failed
I think I might have wrote something wrong in the configuration.php but I am a idiot to this kind of things.
Did you read the message? It's rather clear. You didn't supplied correct address of your MySQL server.
like i wrote severel times im a total idiot setting up databases. since it aint the right one can you then help me how i should write it.
this is how i wrote it: public $Dsn = 'mysql://saphyron_caerbea:826066@saphyron/caerbear2';
database is named saphyron_caerbear2 (please look past the spelling mistake. i know i did it but too lasy to fix it) username is saphyron_caerbea password is 826066
i simple can't get it too work and i don't understand that certain part
EDIT: im using hosting24.com as a provider if that helps
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.20 01:32:00 -
[7]
Originally by: Nutbolt
Originally by: Psyrelle like i wrote severel times im a total idiot setting up databases. since it aint the right one can you then help me how i should write it.
this is how i wrote it: public $Dsn = 'mysql://saphyron_caerbea:826066@saphyron/caerbear2';
database is named saphyron_caerbear2 (please look past the spelling mistake. i know i did it but too lasy to fix it) username is saphyron_caerbea password is 826066
i simple can't get it too work and i don't understand that certain part
EDIT: im using hosting24.com as a provider if that helps
These are obviously not my correct details but this is essentially my setup for the database line of code:
public $Dsn = 'mysql://nutbolt_cb:password@localhost/nutbolt_cbdb';
Where nutbolt_cb is the username setup for the database. This more than likely will include the account name you use at hosting24, ie my account name is nutbolt and i created a database user cb, the database username is acutally nutbolt_cb.
password is the database password...
localhost is the database host, this is more than likely the same for you, if it still does not work and the error mentions the database host file a support ticket with hosting24 asking for the name of the database host.
nutbolt_cbdb is the name of the database you created for this. In the same way for the username you may need to add your account name to the front of it if it is not already there.
I hope this helps,
Nutbolt
it makes alot more sense.
but i still get this error
<br /> <b>Warning</b>: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Unknown MySQL server host 'saphyron' (1) in <b>/home/saphyron/public_html/test_carebear/adodb5/drivers/adodb-mysql.inc.php</b> on line <b>365</b><br /> Connection failed
what could be the problem then
everything is default except ive changed the public dns api userid public userid and added the databases all 3 of ehm
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.20 13:13:00 -
[8]
Originally by: Nutbolt The error still indicates that it is your database host, like I previously mentioned, try changing it to 'localhost'. if that doesn't work ask your hosting24 what it is.
i have changed it to localhost
and i got a reply from my provider that it is localhost. but it still dosent work. which is kind of strange.
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.20 14:55:00 -
[9]
Edited by: Psyrelle on 20/05/2011 14:55:07
Originally by: Nutty trader Edited by: Nutty trader on 20/05/2011 13:56:09 And you have refreshed the page using ctrl+f5? It is the same error message? Sure you uploaded the new file and its got the correct name? If so then copy and paste the error message and the public DSN line here, just so it can all be double checked.
EDIT: Yer nutbolt here, silly forums.
error:
<br /> <b>Warning</b>: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Unknown MySQL server host 'saphyron' (1) in <b>/home/saphyron/public_html/test_carebear/adodb5/drivers/adodb-mysql.inc.php</b> on line <b>365</b><br /> Connection failed
dsn:
public $Dsn = 'mysql://saphyron_caerbea:826066@localhost/saphyron_caerbear2';
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.20 16:03:00 -
[10]
Originally by: Nutbolt From what I can tell it still thinks the database host should be saphyron and not localhost. If you are sure you have uploaded the config file correctly etc... then only other thing I can think of is to start a new, delete the carebear_test folder off your server, upload it all again including the editted config file. If still no luck im out of ideas, sorry.
well now it works sorta.
Error 200: Current security level not high enough.
this error comes... what does that mean?
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.20 17:30:00 -
[11]
Edited by: Psyrelle on 20/05/2011 17:32:47
Originally by: Nutbolt Only thing I can think of is either the user doesn't have access to the database? or your api doesn't have access, are you a director or CEO of the corp your in and trying to pull the info from? Apart from that you need someone who actually understands the code to reply :p
pulling it from the ceo. maybe i need to supply full api and not limited
though i would love to know how im gonna automatically pull every hour or so
|

Psyrelle
Caldari Saphyron Industrial Division OmniTech Initiative
|
Posted - 2011.05.20 20:18:00 -
[12]
Edited by: Psyrelle on 20/05/2011 20:18:05 i was wondering is it possible to collect from multiple corps at the same time?
|
|
|