XF 1.5 I need immediate support. I'm trying to move my forum directory to the homepage

Brad Padgett

Well-known member
Hello,

I believe I've done it right. I moved the files directly to public_html and got rid of the other directory. Meaning the core files and folders are in public_html

I then renamed the board url to (www.thexboxcloud.com).

It showed the site but the site does not have any images and the style I was using does not show.

Any help?
 
check your style properties and settings to make sure your filepath for the style is correct.

your file paths may still be pointing to the old folder.
 
I'm getting the same issues as rafass - I can't imagine anything in xenforo is set wrongly and you'd be hard pushed to duplicate that error easily. I would hazard a guess this is some server related issue or a missing htaccess rule?
 
I'm not sure what is causing the issue. Can anyone be more specific on what they believe the cause is?

It was working just fine a little while ago when it was in a directory named /xenforo

We had a vbulletin page up before I made the transfer but I deleted the files and it's database so I don't believe that could be causing the issue.

If it is .htaccess what line do you think could cause this problem?

I'm going to make a ticket with Xenforo support but please do give me an answer if you have it.
 
Could you post the content of the .htaccess file in your public_html directory? Are you sure the other folders have been removed?

Have you or your host at any time edited your server's conf file?
 
Could you post the content of the .htaccess file in your public_html directory? Are you sure the other folders have been removed?

Have you or your host at any time edited your server's conf file?

This is a copy of my .htaccess file

Code:
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default

<IfModule mod_rewrite.c>
RewriteEngine On

# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo

# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>

My vBulletin board worked fine on the homepage and my xenforo board also worked fine when it was in the directory /xenforo

Also no one has edited that file. I just moved to a new host and everything was working great up until now.
 
Hmmm.... that all seems fine.

Can you check your xenforo options and make sure the board urls are correct in all places. Also, check the @imagePath in your style properties.

Hit the install url (/install) and rebuild the core master data - also can you run a file health check under the tools section of the admin area?
 
The console errors suggest css.php is missing. Is it missing?

If you check the Admin CP > Tools > File health check does that report any issues?

If any files are missing download the current version of XF you are using from your customer area and re-upload the files from that.
 
The console errors suggest css.php is missing. Is it missing?

If you check the Admin CP > Tools > File health check does that report any issues?

If any files are missing download the current version of XF you are using from your customer area and re-upload the files from that.

No file are missing though.

I did a file health check and it says all the files are present and correct.

Strange...

Edit: Also the imagepaths and everything in the style is also correct as I checked.
 
Ahh... good old cloudflare!!! This has caused me several problems before. Basically, I would purge all the cloudflare cache for starters. If this doesnt solve it, could you turn on developer mode inside cloudflare so we can at least see what your server is actually returning?
 
Last edited:
Go to your panel in CloudFlare and click in Caching:
Screen shot 2015-09-01 at 4.32.10 PM.webp
Then purge everything 3 times:
2.gif
You will see this in the bottom:
Screen shot 2015-09-01 at 4.33.41 PM.webp
--
Yeah, 3 times :coffee: I do that and it solve my issues many times :coffee:
 
Last edited:
Ahh... good old cloudflare!!! This has caused me several problems before. Basically, I would purge all the cloudflare cache for starters. If this doesnt solve it, could you turn on developer mode inside cloudflare so we can at least see what your server is actually returning?


Go to your panel in CloudFlare and click in Caching:
Then purge everything 3 times:
View attachment 115755
You will see this in the bottom:
View attachment 115756
--
Yeah, 3 times :coffee: I do that and it solve my issues many times :coffee:

Yeah that was actually the first thing I did.

I believe it's probably caching up the files from the file move. In which case purging the cache may not solve it.

I'm going to re-upload some of the files and see what it does.

Thanks.
 
Now I'm at a loss. Purging the cache, file health check seems good, even re-uploaded all the files through ftp.

Not sure where to go from here. If anyone has an idea let me know.
 
enable developer mode on cloudflare..... thats the first thing. Secondly, hit /install and rebuild the core master data.
See where we go from there :)

Rob
 
enable developer mode on cloudflare..... thats the first thing. Secondly, hit /install and rebuild the core master data.
See where we go from there :)

Rob

The install options not working. If you mean /install/index.php it doesn't load.

Neither does /install by itself.

I have no idea what is causing this but im going to update the ticket as I continue to find a solution.
 
Back
Top Bottom