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

Home » FUDforum » FUDforum Installation Issues » .htaccess
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
.htaccess [message #31328] Mon, 17 April 2006 21:30 Go to next message
chickenout is currently offline  chickenout   United States
Messages: 55
Registered: February 2005
Location: Philadelphia
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 08: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
add to buddy list
ignore all messages by this user
And the .htaccess file has one line...

Deny from all.
Re: .htaccess [message #31341 is a reply to message #31336] Tue, 18 April 2006 09: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
add to buddy list
ignore all messages by this user
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 10: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
add to buddy list
ignore all messages by this user
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 10: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
add to buddy list
ignore all messages by this user
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 10: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
add to buddy list
ignore all messages by this user
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 12: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
add to buddy list
ignore all messages by this user
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 13: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
add to buddy list
ignore all messages by this user
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 15: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
add to buddy list
ignore all messages by this user
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 15: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
add to buddy list
ignore all messages by this user
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 18: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
add to buddy list
ignore all messages by this user
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 07: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
add to buddy list
ignore all messages by this user
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 16: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
add to buddy list
ignore all messages by this user
Check the LOCK permission settings.

FUDforum Core Developer
Re: .htaccess [message #31394 is a reply to message #31379] Thu, 20 April 2006 10: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
add to buddy list
ignore all messages by this user
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 16: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
add to buddy list
ignore all messages by this user
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 13: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
add to buddy list
ignore all messages by this user
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 13:37 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Then you need to ask your admin to grant your account those permissions to the database you have access to.

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

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

Current Time: Sun Jun 24 02:58:48 EDT 2018

Total time taken to generate the page: 0.00909 seconds