lhotch
Customer
Join Date: Jun 2005
Posts: 938
Rep Power: 10
If your having problems after an upgrade...
To be honest I have not yet had a chance to dig very heavily into the scripts but I did just upgreade my V3.0.1 site to 3.0.4 and I noticed some things that may be causing some of the various issues others are facing when doing an upgrade.
If any of you are like me you make a backup copy of the default template directory and use that as a starting point for modifying your site. One thing I just realized is that many of the admin scripts actually call templates that are stored in the templates folder.
A perfect example is the maintenance page and link that was added in V3.0.2. If you were running V3.0.1 and upgraded to anything newer when you uploaded the files to your site the new files needed for maintenance will be added to the default template directory (templates/default/administration to be exact) but if your site is running off of a copy of the default templates from V3.0.1 you wont have that file.
One way to find out if this is causing your problems would be to switch your site back to the default templates, delete contents of templates_c to force a recompile of the files and then see if the issue goes away. If it does then you know that its due to the contents (or lack) in your custom templates folder.
__________________
68classified ver 3.0.14
phpadsnew ver 2.0.4-pr2
linux kernel ver 2.4.21-32.0.1.ELsmp
apache ver 1.3.33 (Unix)
php ver 4.3.11
mysql ver 4.0.24-standard
http://classifords.com
Last edited by lhotch : September 23rd, 2005 at 11:37 AM.
September 23rd, 2005, 11:39 AM
calaf6
Customer
Join Date: Aug 2005
Location: Jolly old england
Posts: 205
Rep Power: 3
Brilliant, I will be doing this tonight.
Is there anyway this could be a 'sticky' for any other users that may have problems in the future.
__________________
www.stableads.com
September 23rd, 2005, 11:52 AM
suzkaw
Staff
Join Date: Nov 2004
Location: Belmont, NC
Posts: 1,839
Rep Power: 10
Good idea. Also if you are running a custom template set you could upload the whole default/administration templates folder over your custom template set. Unless of course you are changing that template.
Just made it sticky!
__________________
Thanks,
Eric Barnes
Developer 68 Classifieds
68 Classifieds | V3.0 User Manual
September 23rd, 2005, 12:01 PM
lhotch
Customer
Join Date: Jun 2005
Posts: 938
Rep Power: 10
Quote:
Originally Posted by suzkaw
Good idea. Also if you are running a custom template set you could upload the whole default/administration templates folder over your custom template set. Unless of course you are changing that template.
Just made it sticky!
Since I didnt modify any of the admin templates, thats exactly what I did, I just uploaded the whole admin directory to my life template folder.
__________________
68classified ver 3.0.14
phpadsnew ver 2.0.4-pr2
linux kernel ver 2.4.21-32.0.1.ELsmp
apache ver 1.3.33 (Unix)
php ver 4.3.11
mysql ver 4.0.24-standard
http://classifords.com
September 23rd, 2005, 01:16 PM
civ
Customer
Join Date: Aug 2005
Location: upstate SC
Posts: 247
Rep Power: 3
Good post. I'd also suggest to anyone who creates their own skin folder instead of editing the default one, make yourself a note about which files you are actually changing. I've totally revamped the look of the default template - it looks nothing like the default actually - and have only changed 3 tpl files in the process. Knowing this makes upgrading easier as I can overwrite all of my template folder's files except those 3.
September 23rd, 2005, 06:20 PM
lakelani
Customer
Join Date: Sep 2005
Posts: 142
Rep Power: 2
Do you mean that you will not have to change these 3?
the whole problem in upgrades is remembering your changes and reapplying them...when do the default templates get changed? just on version changes?
...the change to layout.tpl on v3.0 made me sensitive to redoing my work... now i just hold off of all changes i have tested until the site is more stable..any thoughts on this folks?
great work out there, keep it up, this package will be great soon...also, please let us turn off price display for either categories or a code of some kind...people offering services don't like to see them listed for $0.00 every change i've tried seems to backfire on me.
September 23rd, 2005, 09:43 PM
civ
Customer
Join Date: Aug 2005
Location: upstate SC
Posts: 247
Rep Power: 3
What I do is watch for Eric's announcement of a new version and see what template files changed, then I compare the default tpl file that changed in the newest version to the same default tpl file of the version I am running - once I see what changed I apply those changes to my custom template. I agree that it's a pain, though having dual monitors helps when comparing side-by-side.
September 24th, 2005, 09:49 AM
lhotch
Customer
Join Date: Jun 2005
Posts: 938
Rep Power: 10
For somparing files if you on a windows OC there are a lot of free frile comparing utilitis that will show the files side by side and highlight changes found.
__________________
68classified ver 3.0.14
phpadsnew ver 2.0.4-pr2
linux kernel ver 2.4.21-32.0.1.ELsmp
apache ver 1.3.33 (Unix)
php ver 4.3.11
mysql ver 4.0.24-standard
http://classifords.com