PDA

View Full Version : 500 Internal Server Error



GillionaireG
06-15-2010, 08:53 PM
Hi there,

I just installed the v2.01b version of Socrates theme on wordpress v2.9.2 and receive an 'Internal Server Error (500)' when trying to click on 'Socrates'.

The sysadmin of the server hasn't been able to spot anything in the logs (though there could still be something wrong at that end), however on immediate inspection I notice the following. The 'Socrates' link points to:

http://mydomain.com/wp-admin/admin.php?page=http:/mydomain.com/wp-content/themes/socratesfunctions.php

Is this correct? Shouldn't it be more like:

http://mydomain.com/wp-admin/admin.php?page=http://mydomain.com/wp-content/themes/socrates/functions.php

Although even when I try the latter, I still receive the error.

is this a bug?

cheers

Dan Nickerson
06-15-2010, 09:06 PM
Did you install via FTP or the wordpress dashboard? If FTP try the dashboard.

I'll point this out to Jon.. I see same thing on my install, but it works fine for me.

GillionaireG
06-15-2010, 09:11 PM
thank you

I strongly suspect the reason for the 500 error is to do with my servers configuration then .. on to the sysadmin.

jonc
06-16-2010, 08:47 AM
Try changing these lines in the functions.php file:


function socrates_admin_menu() {
$path = get_bloginfo( 'template_directory' );

To this:


function socrates_admin_menu() {
$path = '';

GillionaireG
06-16-2010, 06:33 PM
it works now, no errors! :)

thanks

mlmarchitect
07-16-2010, 01:48 PM
I am unable to use the socrates theme options it gives me a http error I have changed the information that you suggest in this post with still no luck any other thoughts or ideas.

Dan Nickerson
07-18-2010, 03:21 PM
If you've modified the code the error would be due to a misformatted line of code.

Just reinstall using our upgrade instructions.