News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

big propblems when loading foum

Started by glennmckenna, March 04, 2014, 01:29:18 PM

Previous topic - Next topic

glennmckenna

hi all I've got a BIG problem,
when ever i try to load my forum i get this

along with a fatal error:
Fatal error: Call to undefined function sys_template() in C:\xampp\htdocs\usaulnaynatation\forum\Sources\Load.php(2198) : eval()'d code on line 488

and i try to load the admin page a get this error :
Unable to load Themes/default/Errors.template.php!

also when i try to load the page that SSI.php
i get a long list of errors(that can be seen on this web page):
http://glennmckenna.no-ip.biz:81/usaulnaynatation/index.php

I'm currently running smf 2.0.7
theme is bluez
it's also meant to show up like this :


any help will be extremely appreciated

kat

I guess the first question has to be "What did you do, just before this started happening?".

Got a recent backup you could restore?

I'm not au fait with self-hosting stuff, sadly.

Kindred

well, it certainly looks like, whatever you did - some bad edits were made to Subs,php

That controls the menu array as well, which could explain your missing main menu.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

glennmckenna

Quote from: Kindred on March 04, 2014, 03:28:39 PM
well, it certainly looks like, whatever you did - some bad edits were made to Subs,php

That controls the menu array as well, which could explain your missing main menu.
year i know the thing is that i havn't touched the subs.php

also i've tried restoring it to a point but with no luck i'll give it another go
for info the backup i'll be getting is the one that is being hosted i'll just download it along with it's data base and then use repair-settings. php

for more info before this problem all i was tring to do was add this to the themes :
http://custom.simplemachines.org/mods/index.php?mod=3693
witch faled so i restored it back to before i installed it then tried with this :
http://www.civicuk.com/cookie-law/index
and then all the problems started

glennmckenna

great news i've been able to fix it
my next problem thought is just the forum css
cause i load the site localy every thing is fine
but when i load it tough this link over the interenet or from another computer
http://glennmckenna.no-ip.biz:81/usaulnaynatation/index.php
there is no css coming from the forum

Illori

<link rel="stylesheet" type="text/css" href="http://localhost/usaulnaynatation/forum/Themes/other-pages/css/menu.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/usaulnaynatation/forum/Themes/other-pages/css/index.css?fin20" />
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://localhost/usaulnaynatation/forum/Themes/other-pages/scripts/jquery.tools.min.js"></script>
<script type="text/javascript" src="http://localhost/usaulnaynatation/forum/Themes/default/scripts/script.js?fin20"></script>
<script type="text/javascript" src="http://localhost/usaulnaynatation/forum/Themes/other-pages/scripts/theme.js?fin20"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "http://localhost/usaulnaynatation/forum/Themes/other-pages";
var smf_default_theme_url = "http://localhost/usaulnaynatation/forum/Themes/default";
var smf_images_url = "http://localhost/usaulnaynatation/forum/Themes/other-pages/images";
var smf_scripturl = "http://localhost/usaulnaynatation/forum/index.php?PHPSESSID=rt1pulm58oa969dr0tgfl7aiv0&amp;";
var smf_iso_case_folding = true;
var smf_charset = "UTF-8";
var ajax_notification_text = "Chargement...";
var ajax_notification_cancel_text = "Annuler";
// ]]></script>


What is repair_settings.php?

glennmckenna

Quote from: Illori on March 05, 2014, 06:11:08 AM
<link rel="stylesheet" type="text/css" href="http://localhost/usaulnaynatation/forum/Themes/other-pages/css/menu.css" />
<link rel="stylesheet" type="text/css" href="http://localhost/usaulnaynatation/forum/Themes/other-pages/css/index.css?fin20" />
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://localhost/usaulnaynatation/forum/Themes/other-pages/scripts/jquery.tools.min.js"></script>
<script type="text/javascript" src="http://localhost/usaulnaynatation/forum/Themes/default/scripts/script.js?fin20"></script>
<script type="text/javascript" src="http://localhost/usaulnaynatation/forum/Themes/other-pages/scripts/theme.js?fin20"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "http://localhost/usaulnaynatation/forum/Themes/other-pages";
var smf_default_theme_url = "http://localhost/usaulnaynatation/forum/Themes/default";
var smf_images_url = "http://localhost/usaulnaynatation/forum/Themes/other-pages/images";
var smf_scripturl = "http://localhost/usaulnaynatation/forum/index.php?PHPSESSID=rt1pulm58oa969dr0tgfl7aiv0&amp;";
var smf_iso_case_folding = true;
var smf_charset = "UTF-8";
var ajax_notification_text = "Chargement...";
var ajax_notification_cancel_text = "Annuler";
// ]]></script>


What is repair_settings.php?
year i know that's the problem but how can i fix it ?

i mean what links should i put ?

Illori


glennmckenna

Quote from: Illori on March 05, 2014, 07:29:35 AM
click that link i provided....
but what links should i put in there place ?
or do i have to change some seting on the server (the server i'm running is xamp)


glennmckenna

Quote from: K@ on March 05, 2014, 07:35:21 AM
She means this link...

Quote from: Illori on March 05, 2014, 06:11:08 AM
What is repair_settings.php?
year i got that bit
but what links should i change in the settings ?
cause i can see what the error is
the error is that it fetches the themes from the local host so it's only going to work locally but i would like it to work over the web

kat

Try putting the absolute path there.

http://glennmckenna.no-ip.biz:81/usaulnaynatation/Themes if that's where it is. (Note the upper-case "T". On the net, case matters)

glennmckenna

Quote from: K@ on March 05, 2014, 08:30:25 AM
Try putting the absolute path there.

http://glennmckenna.no-ip.biz:81/usaulnaynatation/Themes if that's where it is. (Note the upper-case "T". On the net, case matters)
ok great that fixed that problem
the problem I've got now is that i can only load it from certain computer
is that something to do with the internet speed ?
seeing that this is the error that i get
The server at glennmckenna.no-ip.biz is taking too long to respond.

kat

Your site loaded, for me. :)

But, using Opera v12, everything looks a bit squiffy and, yes, it's taking yonks to load.

The forum, itself, loaded pretty quickly and it looks fine. :)

glennmckenna

Quote from: K@ on March 05, 2014, 09:11:41 AM
Your site loaded, for me. :)

But, using Opera v12, everything looks a bit squiffy and, yes, it's taking yonks to load.

The forum, itself, loaded pretty quickly and it looks fine. :)
what do you mean by squiffy ?
could you send me a print screen

also the fact it taks yonks for it to load would be down to my internet connection ?
here my speedtest resaults

kat

Could be. That pretty slow, after all. :(

Just checked the homepage with Firefox. It looks even worse, with that!

Screeny attached.

glennmckenna

Quote from: K@ on March 05, 2014, 09:31:32 AM
Could be. That pretty slow, after all. :(

Just checked the homepage with Firefox. It looks even worse, with that!

Screeny attached.
the page hasn't finished loading there ?

kat

Hmm... Both browsers said that they had.

glennmckenna

Quote from: K@ on March 05, 2014, 09:46:40 AM
Hmm... Both browsers said that they had.
must be down to the internet connection


Advertisement: