Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Internal Server Error after installation
1 2
Nabbolo
Posted on 10 Apr 2012, 12:38:28

Access: Member
Total Posts: 11
Joined: 2012-03-22

Hello Chris, I've used N-13 News on a Windows server without great problems, but now for other needs I turned the hosting in a Linux one. The problem is that I have installed N-13 News on the same database (I cleared it before), the installation finishes, the "Welcome" news is displayed when I include the news, but when I try to go in the admin.php page I get a 500 Internal Server Error.

In the log, I've found these errors:

[Tue Apr 10 14:01:42 2012] [error] [client ...] Negotiation: discovered file(s) matching request: /web/htdocs/www.mysite.com/home/news/admin (None could be negotiated).

[Tue Apr 10 13:00:26 2012] [error] [client ...] Premature end of script headers: admin.php, referer: http://www.mysite.com/news/install/?step=3

I've seen that another user had this problem too but he didn't explain how he finally solved :( Thank you in advance!

#3839
Chris
Posted on 10 Apr 2012, 12:51:11

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I think this error has something to do with mod_rewrite on your server possibly not being configured properly. Try removing the .htaccess file that comes with the script to see if the problem persists.

#3840
Nabbolo
Posted on 10 Apr 2012, 13:19:40

Access: Member
Total Posts: 11
Joined: 2012-03-22

I can't find any .htaccess file in the script folder and in the root too (I'm using Filezilla)

#3841
Chris
Posted on 10 Apr 2012, 15:10:28

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

A bit of googling suggests it's definitely an apache configuration problem. if you have a look at these 2 links

  1. http://www.bennadel.com/blog/2218-Negotiation-Discovered-File-s-Matching-Request-None-Could-Be-Negotiated.htm
  2. http://www.webmasterworld.com/apache/3161107.htm

They both say the same thing.

#3842
Nabbolo
Posted on 10 Apr 2012, 15:34:17

Access: Member
Total Posts: 11
Joined: 2012-03-22

Thanks Chris, but I don't know how to solve it, and what should I say to my service provider to fix it. Could you tell me?

Could it be a permissions problem? I have everything set @755 (db.php @777 while installing)

#3843
Chris
Posted on 10 Apr 2012, 16:55:59

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I would show them the error log and possible the 2 links above to see if they can change any settings. One other thing to look for is any other .htaccess files you have have on the root directory of your site, possibly in www or public_html, if you find any try deleting them to see if that fixes the errors.

#3844
Nabbolo
Posted on 10 Apr 2012, 22:02:10

Access: Member
Total Posts: 11
Joined: 2012-03-22

I deleted the php.ini file included with the N-13 script and now I can access the admin page and login. The strange problem is that now I can't click the "titles" (i.e. editing a template "Comments Form", "Comments Pagination", "News Pagination", ...). I click on them and nothing happens, while I remember that there was a textarea coming down to edit... :( What could this be now? Thanks very much for your support!

#3845
Chris
Posted on 10 Apr 2012, 22:21:46

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

This has happened before, seems to be a certain server configuration messed with the relative paths of the script. If you navigate to http://yoursite.com/news/js/main.php, you'll probably see a bunch of errors. If so can you paste those errors?

#3846
Nabbolo
Posted on 10 Apr 2012, 22:34:33

Access: Member
Total Posts: 11
Joined: 2012-03-22

Incredible, I've tried to delete php.ini in that folder too (news/js) and now the textareas come down! However it's not a normal behaviour... I give you the link in private, maybe you can understand the problem in a moment! Thanks.

#3847
Chris
Posted on 12 Apr 2012, 18:36:19

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I'm a bit stumped as to the exact cause of this, looking at the errors it looks as if there's a path problem. One thing I would try is, if you edit news/js/main.php, around the top you'll see this code

require_once(ABSPATH . '/db.php');
require_once(ABSPATH . '/config.php');
#require_once(ABSPATH . '/functions.php');
require_once(ABSPATH . '/langmsg.php'); 

If you remove those slashes at the beginning of each file so it looks like this

require_once(ABSPATH . 'db.php');
require_once(ABSPATH . 'config.php');
#require_once(ABSPATH . 'functions.php');
require_once(ABSPATH . 'langmsg.php');

Save and see if that makes any difference. If it doesn't work I would need access to the server to further debug this problem unfortunately.

#3848
1 2
Network-13.com © 2013