The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Dev Site
Hi
My host made a backup of my site (db/files) so I can have a test site. However im having problems with it redirecting to my main site. They say the issue is: <script type="text/javascript"><!-- function vba_attach_win(threadid) { openWindow('http://www.pitbikeclub.co.uk/misc.php?do=showattachments&t=' + threadid, 480, 300); } --></script> ...which reverts you to the main site. You will need to amend this across the site. Is there a easy way to amend this? |
#2
|
|||
|
|||
Did you change your URL settings in the admincp to match the url for the new dev site?
|
#3
|
|||
|
|||
No because I can't access any pages without a redirect to the main site. I did however edit the sites url in the db but it's not made a difference.
|
#4
|
|||
|
|||
You can use tools.php & reset the URL, its located in your do_not_upload folder from the vb zip.
Did you verify that you dont have any rewrite rules via a htaccess file? |
#5
|
|||
|
|||
Yes I have a rewrite all non www. for the main site, I checked the .htaccess for the dev site and that has the same code. I removed but for some reason chrome downloads the webpages instead of displaying?
So tried that tools, and the friggin redirect keeps taking me off it! |
#6
|
|||
|
|||
Typically if your prompted to dl a page, then thats an apache issue w/ the add handler.
Edit the .htaccess in the dev folder & disable rewrites |
#7
|
||||
|
||||
Since that isn't default vbulletin code, did you try disabling the plugins via the config.php file?
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php HTML Code:
define('DISABLE_HOOKS', true); |
Благодарность от: | ||
Max Taxable |
#8
|
|||
|
|||
I haven't, as I think the problem is with apache. Even the test PHP page won't pharse.
How do I fix this? Im running Plesk, or is it a host only issue? (i've already removed the rewrites) Many thanks for your help folks. |
#9
|
||||
|
||||
If a non-vbulletin page is having the problem, then the problem is a server issue.
|
#10
|
|||
|
|||
Reece, did you do what i posted in post #6?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|