FoolCode / FoOlSlide

[NO LONGER MAINTAINED] Online Comics Publishing Software for Authors and Teams
http://foolcode.github.com/FoOlSlide/
Other
115 stars 64 forks source link

Connection to MySQL database core/loader problem #38

Closed kekkojoker90 closed 10 years ago

kekkojoker90 commented 11 years ago

I suffer from a strange error with connection of the MySQL database. The problem is rand and the error says foolslide can't connect to the database and the problem is in the core/loader at 267 line (i think because i don't remember very well). I know is difficult to work with an error without the proper explanations. I try to make a screenshot the next time i see the problem. Obviusly the problem isn't in the database because the rest of the site work and i installed another site in the same database for see if is a database or the script.

oohnoitz commented 11 years ago

You could try changing the following settings and have the error written to the logs. It isn't recommended since these will generate very large files at a very fast rate depending on the amount of traffic you have.

https://github.com/FoolCode/FoOlSlide/blob/master/index.php#L3-L21

define('ENVIRONMENT', 'development');

https://github.com/FoolCode/FoOlSlide/blob/master/application/config/config.php#L167-L187

$config['log_threshold'] = 3;
kekkojoker90 commented 11 years ago

ok i will try. At the moment the only traffic is uploading the manga because i want finish the theme before and if could upload all our manga.

kekkojoker90 commented 11 years ago

ok i got the same error in this moment and the exact line word is

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 268

oohnoitz commented 11 years ago

This still doesn't provide us with much information and that is a fairly generic connection error.

kekkojoker90 commented 11 years ago

ok give me the time of doing the try with your setting

kekkojoker90 commented 10 years ago

seems nothing is changed at the moment i really don't know what is the problem

kekkojoker90 commented 10 years ago

Switched host and problem seems solved for the moment. But is strange because the rest of the site work =/ you can close if the problem reappear i open a new issue