Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2004
Posts: 12
C
stranger
stranger
C Offline
Joined: Sep 2004
Posts: 12
Hi guys, I'm a long time threads user (since UBB Classic) and have never had this problem before. If it's relevant, I switched to my own VPS a month or so ago. I am currently using UBBT version 7.1b5 and I'd rather not go through an upgrade right now to fix this problem, which would be using a big shoe to squash a little bug.

Today I noticed that a subscribe link on my forum pointed to the wrong site (I let people subscribe via PayPal to help with hosting costs). I fixed it in the header.tpl file and uploaded it. The page still displayed with the old link.

I looked at the header.tpl file directly on the server, and it had the correct new code, but loading the page in my browser still showed the old version of the page with the wrong link.

As a test, I deleted the header.tpl file on the remote server to see if it was displaying the page from a cached version somewhere, and my postlist loaded without a header and no CSS formatting (as I would expect it to with the header.tpl file deleted.)

I uploaded the new version again, and then the postlist page displayed with CSS and header showing, but still displaying the old version of the code with the old link.

I discovered I'm having the same problem with altering a template on another threads site I run on my same VPS. No matter what changes I make, it still displays the old code unless I delete the template, then it displays as you'd expect with that template file missing. Re-uploading the new version of the template restores it to showing the page with the template's old version.

I am completely bewildered.
Attachments
calpys_template_problem.jpg

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
It'll sound dumb, make sure you're uploading to the VPS and not the old host; i've made this mistake myself when migrating to a new server. Also be sure the DNS changes reflected to the new server for you as well (perhaps even upload a new file and try to go to it).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,097
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,097
Likes: 1
Also make sure your system has the correct DNS/IP address it's connecting to.

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
possibly the server address that you're trying to ftp to is set as the old server?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
hardwire the real IP in your hosts. file for temporary purposes to remove all doubt..

then you can remove that later wink

i had the issue where www.domain.com didn't resolve to same ip as domain.com for a coupla days after moving... same happened for mail.domain.com too wink

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
God bless DNS propogation wink lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Sep 2004
Posts: 12
C
stranger
stranger
C Offline
Joined: Sep 2004
Posts: 12
It's baffling, because I can look at the file with Fetch/BBEdit (a Mac FTP program & editor, for you Windows people) or even log into the site's cpanel and use that file manager to look at the file, at the code is correct. If I delete the file (header.tpl in this case), the postlist page displays as expected without the header (no CSS and no header links, etc). But no matter what I do in terms of uploading, the file does get uploaded and does contain the new code, but displays in my browser as the old code/page.

To be thorough,
  • I've cleared my browser cache
  • Looked at it in different browsers
  • Looked at the file on the server via different FTP programs (Dreamweaver, Fetch, CPanel's File Manager)
  • Tried uploading a test.html file (which worked)

Arrgh! Thanks for the help, I'm appreciating it!

Joined: Sep 2004
Posts: 12
C
stranger
stranger
C Offline
Joined: Sep 2004
Posts: 12
Finally, I've figured this out, after many months of being unable to make any changes to my templates.

The folders /myforuminstall/templates/ and /myforuminstall/templates/compile had permissions set to 755, and the compile folder was full of cached pages. Since my UBBT couldn't write to the /compile folder, it kept using the old cached versions of the pages even after I uploaded or modified the .tpl files.

I set permissions on both to 777, deleted all the cached files, and now all the template changes I made months ago are suddenly there. WHEW!

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
odd, the permission checker when you upgraded should have caught that...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Who's Online Now
0 members (), 296 guests, and 109 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)