News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Wrong theme path after move to new hosting...

Started by goranbeg, February 17, 2013, 09:09:12 AM

Previous topic - Next topic

goranbeg

Hello... i try to move forum to new hosting provider.

I move base, import data base, move files, folders, start rapair_tool.php but i still have wrong path of my Theme... :(

For example, i set default folder for theme in repair_tool.php:

http://159.253.129.250/~virtualn/razmenaigara/Themes/default
http://159.253.129.250/~virtualn/razmenaigara/Themes/default/images
/home/virtualn/public_html/razmenaigara/Themes/default

But after refresh page, i'm missing my theme and all images. When i look in source i see that my path missing:

http://159.253.129.250/~virtualn/Themes/default/scripts/script.js?fin20
                                              ^^^ MISSING 'razmenaigara'

I dont know why... :( .. Of course i cant login on my forum and change this in admin panel.

Any help? :( Why is wrong path?


macrob

Hi.

I had that problem before.
I had to change theme path in admin panel, even when i change it in repair_settings, like you did.

Why you can't log in?


goranbeg

Path of forum is wrong... When i try to logon i expect that form will be on :

http://159.253.129.250/~virtualn/razmenaigara/

when i enter username / password, forum redirect me on:
http://159.253.129.250/~virtualn/login2/

and nothing there... cos' wrong path. 'razmenaigara' in path missing.

Chalky

You need to run the repair_settings tool.  Download it to your 'puter, upload it to your root directory, point your browser to it and correct your paths there.  Then you should be able to login to correct your theme path.

goranbeg

Quote from: ChalkCat on February 17, 2013, 09:24:27 AM
You need to run the repair_settings tool.  Download it to your 'puter, upload it to your root directory, point your browser to it and correct your paths there.  Then you should be able to login to correct your theme path.

I did that. But still wrong path... I set in repair tool for example default FORUM URL:

http://159.253.129.250/~virtualn/razmenaigara/

But when i click on logo, i see that default is

http://159.253.129.250/~virtualn/

still wrong... i put 'razmenaigara' in url (in repair tool, forum url part) but still missing.

Is it maybe sign '~' problem in url? I try with repair_tool but still have wrong path.


macrob

Hi.

Just to clarify, you've change your dns, have you. You need to redirect your domain to your new ftp.


goranbeg

Quote from: macrob on February 17, 2013, 09:28:53 AM
Hi.

Just to clarify, you've change your dns, have you. You need to redirect your domain to your new ftp.

I have domain razmenaigara.com but i want to install forum on new hosting on temporary URL, and
this is http://159.253.129.250/~virtualn ... this domain i get from my provider. I just want move
there, test little bit and then move all forum files. So, DNS is ok for http://159.253.129.250/~virtualn

I change everything in repair_tool, but for some reason i always redirect to ROOT url:

http://159.253.129.250/~virtualn

and i want to be on:

http://159.253.129.250/~virtualn/razmenaigara
                                                ^^^^^^^^ This missing when i check source form forum home page.

Themes, smiles etc. Missing. I set right url on reapir tool, but still wrong... :(

But, here is strange things. When i set on repair tool this:

http://159.253.129.250/~virtualn/razmenaigara/razmenaigara (path no exist), i get this:

http://159.253.129.250/~virtualn/razmenaigara/Themes/default/css/index.css?fin20

and my theme is back... but cant log again. like the sign '~' is problem. Maybe i talking some bull******, but just think what can be problem.

macrob

Hi.

Quote from: goranbeg on February 17, 2013, 09:33:32 AM


I change everything in repair_tool, but for some reason i always redirect to ROOT url:

http://159.253.129.250/~virtualn

and i want to be on:

http://159.253.129.250/~virtualn/razmenaigara
                                                ^^^^^^^^ This missing when i check source form forum home page.

You've installed your forum in root/razmenaigara right?

My forum is in /forum directory on my ftp and i'm using redirection ( i don't know did i use correct word for that  :) ).
I got index.php file in root with that content:


<?php
$newurl 
'Location: http://www.xxxxx.org/forum'.$_SERVER['REQUEST_URI'];
header('HTTP/1.1 301 Moved Permanently');
header($newurl);
header('Connection: close');
?>


Just replace www.xxxxx.org with your forum directory path.

Maciek.             

Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

goranbeg


goranbeg

Look guys... i set this on repair tool:



After loading page i look in source and see this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <link rel="stylesheet" type="text/css" href="http://159.253.129.250/~virtualn/Themes/default/css/index.css?fin20" />
   <link rel="stylesheet" type="text/css" href="http://159.253.129.250/~virtualn/Themes/default/css/webkit.css" />
   <script type="text/javascript" src="http://159.253.129.250/~virtualn/Themes/default/scripts/script.js?fin20"></script>
   <script type="text/javascript" src="http://159.253.129.250/~virtualn/Themes/default/scripts/theme.js?fin20"></script>
   <script type="text/javascript"><!-- // --><![CDATA[
      var smf_theme_url = "http://159.253.129.250/~virtualn/Themes/default";
      var smf_default_theme_url = "http://159.253.129.250/~virtualn/Themes/default";
      var smf_images_url = "http://159.253.129.250/~virtualn/Themes/default/images";
      var smf_scripturl = "http://159.253.129.250/~virtualn/index.php";
      var smf_iso_case_folding = false;


ETC...

There is NO "http://159.253.129.250/~virtualn/razmenaigara.com" folder ... path or whatever... :( Whatever i put after /~virtualn' there is no exist on source code... :( is it pretty URL problem maybe?

Colin

That is an important piece of information, pretty urls. Yes that is most definitely the issue.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

goranbeg

I still have a problem... I try same  things with my second forum

Main adress is www.pikadogerila.com/forum ....

I'm move this forum on new hosting, and i want to have temporary web aderss:

http://72.29.127.9/~mindneve/_domains/pikadogerila.com/forum

I don't have instlled here PRETTY URL plug. Just small forum...

I correct all path errors here:



But when i reload page, i see that in my URL missing /forum/ ... for example, my forum is temporarily here:

http://72.29.127.9/~mindneve/_domains/pikadogerila.com/forum

But, when i check the source code, FORUM in path missing and i get:

http://72.29.127.9/~mindneve/_domains/pikadogerila.com/



If i for example add on repair tools, repeat word 'forum' in path, then THEME is ok, source is Ok, but still forum doesnt work good.

For example,

http://72.29.127.9/~mindneve/_domains/pikadogerila.com/forum - DOSEN'T WORK, and source is:
http://72.29.127.9/~mindneve/_domains/pikadogerila.com/

http://72.29.127.9/~mindneve/_domains/pikadogerila.com/forum/forum - WRONG PATH cos' i repeat word FORUM two times, but WORKS. Theme work fine, but other things dont.
http://72.29.127.9/~mindneve/_domains/pikadogerila.com/forum - good path, but still cant login, logout etc.

Where i go wrong? please help.

ONE MORE STRANGE THINGS:

http://72.29.127.9/~mindneve/_domains/pikadogerila.com/forum/                 - NOT WORKING
http://72.29.127.9/~mindneve/_domains/pikadogerila.com/forum/index.php - WORK

How?


Storman™

QuoteWhere i go wrong? please help.

The root of your domain is:

/home/mindneve/public_html/

Thats where your forum should installed into.


goranbeg

Quote from: Storman™ on February 21, 2013, 02:17:44 PM
QuoteWhere i go wrong? please help.

The root of your domain is:

/home/mindneve/public_html/

Thats where your forum should installed into.

I don't understand why i can't install in subfolder? This is just temporary folder. Leater this sites will be in nature folders:

www.razmenaigara.com/forum
TEMP FOLDER : 159.253.129.250/~virtualn/razmenaigara.com/

www.pikadogerila.com/forum

TEMP FOLDER : 72.29.127.9/~mindneve/_domains/pikadogerila.com/forum/

But, everything works fine when i add index.php after adress. For example:

159.253.129.250/~virtualn/razmenaigara.com/index.php


goranbeg

I solve this problem on other way.

I just create subdomain for my site (temporary), and move all there...

I still don't know why forum can work if move them in domainname.com/forum/myforum/temp folder.... Just not working with too many subfolders.

So, this is it. Thank you.

Advertisement: