Theme problems

Started by xXxbigdogxXx, May 07, 2016, 08:07:40 PM

Previous topic - Next topic

xXxbigdogxXx

Hi,

Let me explain the situation...

As you know SMF requires 2 things to operate with minimal operation. SQL database and a website software. I had come to find that my webserver aka Wamp Server has been really buggy and unresponsive. I had to then reinstall. Well it turns that the problem was that the server was accessible completely whilst I had local host. But when the website were to be accessed outside the network it wouldn't be accessible. When reinstalling I had copied both /www/ and /mysql/data/ and has reinstalled and fixed that. Now comes the problem I am faced with now. My website works to a certain extent... however major glitches and errors all over the site.

I get

"The default theme's directory is wrong, please correct it by clicking this text."

When I click it I get 1 of 2 things
1) It doesn't fix itself
2) It does but it doesn't give me the theme it was on and it doesn't show the hotbar and all the little things like member groups and images for their groups

When I look at the theme settings I get this for every theme

The directory is invallid in red. (the theme wouldn't work well enough to give me the page anymore)

Directory for themes (keep in mind I am using the /www/ directory as the example.com main page)

\Webserver\ServerA\www\Themes

I did have the name \Server A\ before now its \ServerA\ is their a way to 100% like file wise get the theme directory changed?

pictures: http://puu.sh/oJXzc/c68d9c94cd.png , http://puu.sh/oJXAU/d6e1b0b6a0.png , http://puu.sh/oJXEO/595bd591c5.png ,

EDIT: I found a way to make the page appear, http://puu.sh/oJXEO/595bd591c5.png

EDIT 2: I fixed it again. Man I keep fixing the errors before anyone goes about helping me fix it. I just had to "Attempt to reset default theme directories" at the bottom of theme settings

Shambles

QuoteMan I keep fixing the errors before anyone goes about helping me fix it

Dunno about other members, but in my case I was fast asleep.


Your issue has literally been posted (and solved) hundreds and hundreds of times - quite possibly the most reported "issue" seen on the support boards - yet another example of members not bothering to perform a search or simply scan the boards.

There's a wiki entry covering the easy way to lift-and-shift, which lists a tool that would have fixed this for you:

http://wiki.simplemachines.org/smf/Hosting_-_How_do_I_move_my_SMF_forum_to_a_different_host

Gluz

There are two different issues here:

First of all, you have WAMP installed in you machine to run the forum, well, unless you redirect the traffic to your PC and allow external connections in WAMP, you can't view your forum from outside your local network. And that is not a good idea if you don't know exactly what are you doing (ie. configuring security settings in a web server), because anyone can have access to your PC if you don't configure things well.

Then is the issue with paths. If you access to your forum from another machine in your local network it won't work as if you access from the local machine, because you set the paths to the local machine (127.0.0.1) and when the forum try to load the resources they wont be there.


WAMP is for local test purposes, not for a live production forums (unless you are running your own Windows Server, and I'm not sure to use that, I think something more complex like XAMPP is the way to go). If you want to make a forum in the web (not in your local network, or your local machine) then you have to use a web host (paid or free) that allows you to upload files and databases, then you only need to upload all you have and update the paths with the Repair_settings.php file.

So, your forum is for a local network or to be accessed from all the web?

Advertisement: