FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » .htaccess
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
.htaccess [message #31328] Tue, 18 April 2006 01:30 Go to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
I have been having problems with access to my forum all weekend.
I was getting the old Internal Server Error for both my FUDforum and my coppermine photo page.
I contacted the host and the Coppermine seems to be working OK now, but the forum is still down. I no longer get the error message, but a blank page.

I found a .htaccess file in the include folder and have seen in other threads the mention of deleting it? Could this be the source of my problems?

Should I delete it?

Any info would be greatly appreciated.
Thanks
Re: .htaccess [message #31336 is a reply to message #31328] Tue, 18 April 2006 12:36 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
And the .htaccess file has one line...

Deny from all.
Re: .htaccess [message #31341 is a reply to message #31336] Tue, 18 April 2006 13:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The include/ folder is never access by the web browser so the .htaccess file in it is not a problem, it actually is there to prevent people from directly accessing your include files. Check the forum's SQL error log inside the errors/ directory it will likely have clues about why it does not work. Most likely one of the SQL table was corrupted and needs to be repaired.

FUDforum Core Developer
Re: .htaccess [message #31346 is a reply to message #31328] Tue, 18 April 2006 14:06 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
Here is what the error log is saying....

[Tue Apr 18 07:03:33 2006] [error] [client 165.123.243.168] PHP Warning: main(/var/www/html/FUDforum/include/core.inc) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /var/www/html/...../GLOBALS.php on line 85, referer:http://www........
[Tue Apr 18 07:03:33 2006] [error] [client 165.123.243.168] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/html/FUDforum/include/core.inc' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/......./GLOBALS.php on line 85, referer:http://www........
Re: .htaccess [message #31348 is a reply to message #31346] Tue, 18 April 2006 14:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does the /var/www/html/FUDforum/include/core.in file exist and if so what are its permissions?

FUDforum Core Developer
Re: .htaccess [message #31349 is a reply to message #31346] Tue, 18 April 2006 14:09 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
chickenout wrote on Tue, 18 April 2006 10:06

Here is what the error log is saying....

[Tue Apr 18 07:03:33 2006] [error] [client 165.123.243.168] PHP Warning: main(/var/www/html/FUDforum/include/core.inc) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /var/www/html/...../GLOBALS.php on line 85, referer:http://www........
[Tue Apr 18 07:03:33 2006] [error] [client 165.123.243.168] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/html/FUDforum/include/core.inc' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/......./GLOBALS.php on line 85, referer:http://www........



Wait I think I figured something out........
Re: .htaccess [message #31352 is a reply to message #31348] Tue, 18 April 2006 16:00 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
Ilia wrote on Tue, 18 April 2006 10:07

Does the /var/www/html/FUDforum/include/core.in file exist and if so what are its permissions?



Maybe not.

The permissions are set to 644.
Re: .htaccess [message #31354 is a reply to message #31328] Tue, 18 April 2006 17:21 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
OK, I got the forum up, but when I tried to post a message I got this.....

(/var/www/html/chickennewforum/index.php:116
/var/www/html/chickennewforum/index.php:83
/var/www/html/chickennewforum/theme/default/post.php:1655
/var/www/html/chickennewforum/theme/default/post.php:3958
/var/www/html/chickennewforum/index.php:1148
) 1044: Access denied for user 'chickenout'@'127.0.0.1' to database 'thechickenout_com_-_db'
Query: LOCK TABLES fud15_thread_view WRITE, fud15_level WRITE, fud15_users WRITE, fud15_forum WRITE, fud15_thread WRITE, fud15_msg WRITE
Server Version: 4.1.14-standard
[Referring Page] http://www....../chickennewforum/index.php?t=post&frm_id=9&rid=2&am p;S=aaa8e098fb6b37a539e8a949e6bc4601

Please help.??
Re: .htaccess [message #31356 is a reply to message #31354] Tue, 18 April 2006 19:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to make sure that the SQL username you are using has permission to LOCK tables.

FUDforum Core Developer
Re: .htaccess [message #31358 is a reply to message #31356] Tue, 18 April 2006 19:55 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
Ilia wrote on Tue, 18 April 2006 15:43

You need to make sure that the SQL username you are using has permission to LOCK tables.



It should, but how would I find out?

Thanks
Re: .htaccess [message #31361 is a reply to message #31358] Tue, 18 April 2006 22:56 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Check the user and db table inside the mysql database

FUDforum Core Developer
Re: .htaccess [message #31371 is a reply to message #31361] Wed, 19 April 2006 11:52 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
Ilia wrote on Tue, 18 April 2006 18:56

Check the user and db table inside the mysql database



What am I looking for??
Re: .htaccess [message #31379 is a reply to message #31371] Wed, 19 April 2006 20:37 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Check the LOCK permission settings.

FUDforum Core Developer
Re: .htaccess [message #31394 is a reply to message #31379] Thu, 20 April 2006 14:53 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
Ilia wrote on Wed, 19 April 2006 16:37

Check the LOCK permission settings.



I don't see such a thing??
Re: .htaccess [message #31397 is a reply to message #31394] Thu, 20 April 2006 20:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Then you are not looking hard enough, check on MySQL.com how to grant to a user LOCK privileges for a table.

FUDforum Core Developer
Re: .htaccess [message #31427 is a reply to message #31397] Fri, 21 April 2006 17:48 Go to previous messageGo to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
Ilia wrote on Thu, 20 April 2006 16:47

Then you are not looking hard enough, check on MySQL.com how to grant to a user LOCK privileges for a table.



I don't think I have the ability to set those permissions.

Re: .htaccess [message #31434 is a reply to message #31427] Sat, 22 April 2006 17:37 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Then you need to ask your admin to grant your account those permissions to the database you have access to.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Forum consistency
Next Topic: function.array-merge error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun May 26 11:51:10 GMT 2024

Total time taken to generate the page: 0.02336 seconds