Category change not being reflected in live site
Posted: 03 July 2008 08:40 AM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  28
Joined  02-22-2007

I have an unordered list being generated for navigation with the following:

{exp:weblog:categories disable="categories|custom_fields|member_data|pagination|trackbacks" weblog="packages" category_group="2" style="linear"}
<li><a href="{path=hu/packages/}" class="C{category_id}">{category_name}</a></li>
{/exp:weblog:categories}

The packages weblog is assigned category group 2. Each category in category group 2 describes a type of package (a hosting package).

My client is discontinuing dedicated servers in favour of VPS servers, so I renamed a category accordingly.

However, this change is only reflected in some pages, as on some the the navigation list shows the new ‘VPS Servers’ text and on some it still shows the ‘Dedicated Servers’ text. On the VPS Servers page itself, the change is not reflected.

I’ve tried clearing cached data from within the admin, but this doesn’t help. Am using EE 1.5.2.

Please advise. Thanks.

Profile
 
 
Posted: 03 July 2008 08:43 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

FTP in- go to system/cache- check the cache folders and find one that has files in it.  Then try clearing cache from the cp again.  Refresh ftp- did those folders empty out?

If not- manually clear them out via ftp and let me know if the frontend now syncs.  If it doesn’t- I wonder if it’s hard coded anywhere.  Granted- seems unlikely.

Anyhoo- let me know how the ftp test goes.  We’ll go from there.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 03 July 2008 08:52 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  28
Joined  02-22-2007

Thanks for the extremely quick reply Robin - sorted.

There were folders in the db_cache folders with files. Deleted all folders in db_cache, and one in magpie_cache.

Profile
 
 
Posted: 03 July 2008 09:01 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

OK- glad we found the source of the problem.  But it worries me that clearing cache via the cp didn’t clear them out.  I’d delete all folders inside cache- make sure cache is writable- typically 777.  Then experiment a wee bit- make sure folders are created and populated (by spying on them via ftp)- then make sure when you clear cache in the cp, it’s actually clearing all of those folder contents for you.  If it’s not- it can bork things up and we need to investigate.

Make sense?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 03 July 2008 09:07 AM   [ Ignore ]   [ # 4 ]  
Summer Student
Avatar
Total Posts:  28
Joined  02-22-2007

The cache directory was 755. Tried 775 and new cache files weren’t created, so then tried 777 and they were created.

Is 777 safe enough for the cache folder and everything beneath it?

Profile
 
 
Posted: 03 July 2008 09:11 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

On a properly secured server, yes.  So- really depends on the server setup.  It should be fine, but I’ve seen some whacky approaches to security, so can’t swear a blood oath on it.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 03 July 2008 09:13 AM   [ Ignore ]   [ # 6 ]  
Summer Student
Avatar
Total Posts:  28
Joined  02-22-2007

Okay, will query with client as they should know how their server is configured being a hosting provider!

Thanks again for the speedy support.

Profile
 
 
Posted: 03 July 2008 09:15 AM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

LOL- yep, they should definitely know whether they are at risk.  And if they are- they should know how to fix it wink

Glad you’re squared away, and closing this one out.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64914 Total Logged-in Users: 23
Total Topics: 81869 Total Anonymous Users: 22
Total Replies: 440136 Total Guests: 168
Total Posts: 522005    
Members ( View Memberlist )
Newest Members:  smilepolitelyrvmcleodbjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcfthenetmonkey