constants.php not working

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Hank Roth
Posts: 2
Joined: Sat Oct 28, 2006 4:38 pm

constants.php not working

Post by Hank Roth »

I just installed 1.6 and it installed using the install script but when I try to connect it won't stream because of constants.php not opening so I comments it out and now it works without it. Has anyone had this problem and what is the fix short of doing what I did and commenting it out?

Hank
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it can't work without constants.php. Which error did you get?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Hank Roth
Posts: 2
Joined: Sat Oct 28, 2006 4:38 pm

Post by Hank Roth »

Thorsten wrote:Hi,

it can't work without constants.php. Which error did you get?

bye
Thorsten
In the init file in inc directory I had to comment out
// require_once('constants.php');

for faq to work. It works fine now, but I believe those constants are already defined in the config??

I'm not sure except the error stated it would not stream and it pointed to that line. I don't yet see where or if I have broken anything else. It is true I am only using 3.23 MySql and it might be something particular to the older version. I am a bit hesitant to upgrade MySql since my other dbs are all working and making changes now could break them.

Hank
:?:
Post Reply