News:

Wondering if this will always be free?  See why free is better.

Main Menu

Server error

Started by cyberdyne, April 05, 2011, 10:25:13 AM

Previous topic - Next topic

cyberdyne

This appears in my server error log a lot. Can anyone please help me narrow down what's causing it?

[error] File does not exist: /home/server/public_html/forum/\\"http:\\, referer: http://www.domain.co.uk/forum/index.php

Thanks
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

cyberdyne

I'm still getting a lot of these errors - seems to be every time the main page (index.php) is loaded.
I still can't see why it's happening. :(

Any help greatly appreciated.
Thanks in advance.
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

Bigguy

Are permissions set right on that file. Read this and see if it helps.:

How do I chmod? / what is chmod?

cyberdyne

Quote from: Bigguy on April 06, 2011, 07:57:04 AM
Are permissions set right on that file. Read this and see if it helps.:

How do I chmod? / what is chmod?

Permissions on index.php are set to 0644
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

Bigguy

Have you asked your host about this, what do they say. ???

cyberdyne

Not yet, I thought I'd try here first just in case it was an SMF known error. I'll contact my host then.
Thanks
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

Bigguy

I have seen a lot of errors like this but never one with \\"http:\\ in it. This is why I asked about your host. Make them aware of it and see what they say. Then post back and we'll see what we can do. :)

LiroyvH

Looks like your index.php is redirecting somewhere it should not. Did you install any mods or did you modify paths in Settings.php? Tried to see if everything is set OK with the repair_settings.php tool?
You can find it in the Download section here under Tools.
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

cyberdyne

#8
Quote from: Bigguy on April 06, 2011, 08:08:49 AM
I have seen a lot of errors like this but never one with \\"http:\\ in it. This is why I asked about your host. Make them aware of it and see what they say. Then post back and we'll see what we can do. :)

Support request sent.

Quote from: CoreISP on April 06, 2011, 08:09:40 AM
Looks like your index.php is redirecting somewhere it should not. Did you install any mods or did you modify paths in Settings.php? Tried to see if everything is set OK with the repair_settings.php tool?
You can find it in the Download section here under Tools.

I've installed quite a few mods, yes, although 'settings.php' looks to be the same as a backup file I have. As for paths, I don't recall changing any manually. Could the fact that I've installed my forum in a folder called 'home' (/public_html/home/) be causing it ?

Mods:
Quote1.    Quick Ban on Account Delete    1.0.1
2.    Disable shouting    1.0
3.    blinkbbc    1.0
4.    Custom Tab    1.2
5.    Website Button    1.1.4
6.    Member Notepad    1.0.1
7.    Disable Subject Change    1.6
8.    Disable 'News Fader' for Guests    1.0
9.    Stars to Profile    1.0.1
10.    Proxy Blocker    1.1.4
11.    Increase/Decrease Postbox Size    1.0
12.    Copyright & Footer Links | S-Ace    3.1
13.    Redirect on Login and/or Logout mod    0.4
14.    Search Time Limitation    1.0
15.    Stars And Badges    2.1
16.    Hide "Logged" and IP Image    1.0
17.    Reason For Editing Mod    2.3.2
18.    Simple_Mood    1.0

I'm reluctant to try the repair settings tool if I'm honest (although not completely against it!). Will it change only the settings.php file?

Thank you for your replies.
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

Bigguy

It's a very safe and useful tool. Please try it out as suggested. This may solve your problem:

What is repair_settings.php?

cyberdyne

Quote from: Bigguy on April 06, 2011, 08:30:39 AM
It's a very safe and useful tool. Please try it out as suggested. This may solve your problem:

What is repair_settings.php?

OK, used the tool but just had the error again when navigating from one page to 'Home' (index.php). I've noticed it doesn't happen every time the index.php is loaded so will try and work out when it does and doesn't return the error.

re: reset_settings.php:
I had to set 'Queryless URLs:' to 'Off' as I had no value set and I reset the cookie name to its' original. I also had to reset the theme to my custom theme as this changed to the default upon using the tool but all seems well otherwise.
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

LiroyvH

So, out of interests, was your forum functioning properly on the default theme...?
Give that a shot. If it works without problems on that, you know where the problem is... :)
((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

cyberdyne

I did't really test it but good point, I'll try it out!!  ::)
Thanks
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

cyberdyne

#13
OK, tested and yes, the error definitely still appears when using the default theme.

Something else I've not noticed before - the error occurs in pairs.
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

cyberdyne

#14
OK, I think I've found the cause.

I used a smiley in two of my news posts. The smiley used the 'short code', (eg: :smile:). This, for whatever reason seemed to be causing the error as now that I've removed the smilies from the news posts, the error doesn't appear to be occuring.

Edit:
Yep, confirmed it. Replaced the smiley code and the error returned. Strangely, I also used the actuall full path to the smiley using my domain, etc. and the error still occured.
Well, at least I now know how to prevent it :)
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

Bigguy

Glad you found the cause. I will mark this solved now for you. Not to sure why a smiley would cause an error though.

cyberdyne

Thanks to everyone who helped  8)
Using:
v.1.1.16
Custom theme (modified SMF Default Theme - Core)
AND
v.2.0.1
Custom theme (modified Bright Forest)

Advertisement: