Change of hosts, some logic no longer functioning.
Posted: 24 November 2008 09:05 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  896
Joined  04-14-2007

I’ve just recently moved a site to a new location. The move has been successful from the stand point of the migration itself. The CP is accessible and all of it’s components made the move with no trouble.

I did have to make a few updates to some custom queries because of the new environment.

However, there is one wired side effect that I can’t seem to figure out.

The heart of this site is driven by a single template with quite a bit of conditional logic used to determine display. All of the complex conditions render just fine. It’s when my weblog tag has no associated conditions that the selected entry does not display (no mark-up written to the rendered page).

Backing up a bit:
The old install:
ExpressionEngine 1.6.1 Build:  20071204
PHP Version 4.4.7
mysql 4.1.22-standard-log

The new install:
ExpressionEngine 1.6.1 Build:  20071204
PHP Version 5.2.6
mysql 5.0.22

This tag pulls the expected data when any of the conditions that test for existence of content to a set of custom fields are met. However, if those fields contain no content
the initial data does not load.

The URL used to fire all of this is

/index.php/site/projects/category/identities/identity_system_mediastorytellers/Mediastorytellers

The tag

{exp:weblog:entries weblog="project_entry" sort="desc" limit="1" url_title="{segment_5}"}
<div id="project_head" class="clearfix">
  <
ul id="info">
    <
li><h2>{project_name}</h2></li>
    <
li><h3>{project_location}</h3></li>
    <
li><h3>{project_type}{if project_url}&nbsp;<span style="font-weight:normal; letter-spacing:0;">&nbsp;&nbsp;[<a href="#">View Project</a>]</span>{/if}</h3></li>
  </
ul>
</
div>
// series of conditions that pull in content if entered into the system
{/exp:weblog:entries}


I’m more than willing to provide access to the CP if need be. This project has a bunch of problems that need to be addressed but I can’t until I am able to address this basic issue.

Thanks.

 Signature 

Michael Rubens | hothousegraphix
Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity. - Charles Mingus

Profile
 
 
Posted: 24 November 2008 09:40 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRank
Total Posts:  2550
Joined  05-07-2007

Michael,

In CP Home ›  Admin ›  System Preferences ›  Output and Debugging Preferences can you make sure your debugging preference is set to “1”.

Also, flip on template debugging copy it into a text file, zip it up and attach to your next post.

You may want to consider keeping a current backup and updating to 1.6.6 to see if that can help to shake out any bugs.

-greg

 Signature 
Profile
MSG
 
 
Posted: 24 November 2008 10:51 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  896
Joined  04-14-2007

Greg, hope all is well.

I’ve attached a zipped folder that contains debugging for both a working and non-working entry - I don’t see much difference.

Additionally, I’ve included a copy of the template itself.

You may want to consider keeping a current backup and updating to 1.6.6 to see if that can help to shake out any bugs.

Well, funny you should mention that. I actually started with 1.6.6. I began moving this project manually because of how small it is. When this issue revealed itself, I made the decision to blow away the work I had done and bring in the install as is.

However, the problem did not go away. I’m not too sure where to do from here.

I do have a test template set up and when I eliminate the limit parameter from the weblog tag and reduce the URL down to just

template_group/template/category_trigger/category/url_title


I would think I should only see the selected entry but I’m getting all entries within the indicated category.  question

File Attachments
info.zip  (File Size: 8KB - Downloads: 7)
 Signature 

Michael Rubens | hothousegraphix
Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity. - Charles Mingus

Profile
 
 
Posted: 24 November 2008 11:07 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRank
Total Posts:  2550
Joined  05-07-2007

Michael:

I see some extensions running.  Can you please list what you are using? 

Also can you globally disable them real quick with the green button in Admin -> Utilities -> Extensions Manager and let’s see if that makes a difference?

 Signature 
Profile
MSG
 
 
Posted: 24 November 2008 11:27 AM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  896
Joined  04-14-2007

Argggggggggggggggggggggggggggggggggggggg!!!!!

It’s Mark Huot’s File extension (v.3.1.1).

I’ve been having trouble with this extension on multiple installs. Would you (or anyone else) happen to have another suggestion for how to establish a straight forward file upload process that implements a file-browse button in the CP? Maybe I just revert to a previous version?

I’ve logged previous trouble I’ve expereinced in the “File” thread but had no response from the author. Some of the community members have chimed in.

Any idea?

 Signature 

Michael Rubens | hothousegraphix
Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity. - Charles Mingus

Profile
 
 
Posted: 24 November 2008 11:31 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRank
Total Posts:  2550
Joined  05-07-2007

Michael:

You might want to check out Low’s File Manager Module.

-greg

 Signature 
Profile
MSG
 
 
Posted: 24 November 2008 11:41 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  896
Joined  04-14-2007

Greg, thanks!

I’ll give this a go and post back.

 Signature 

Michael Rubens | hothousegraphix
Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity. - Charles Mingus

Profile
 
 
Posted: 24 November 2008 11:49 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  896
Joined  04-14-2007

One quick, related question/clarification; when removing Marks File extension all variable/file relationships are going to become non-existent because the extension no longer exists.

Would I be best served by manually removing the associate images prior to starting off with this new module?

Or, just mass delete via FTP (obviously a simpler approach), then

CP Home ›  Admin ›  Utilities ›  Clear Cached Data

followed by optimizing DB tables?

What’s the best way to clean up after un-installing the offending extension.

Just curious.

 Signature 

Michael Rubens | hothousegraphix
Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that’s creativity. - Charles Mingus

Profile
 
 
Posted: 24 November 2008 12:13 PM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  2048
Joined  01-07-2008

Michael,

The extension should clean up after itself when you uninstall it (remember to disable in the CP).  So the only thing that will be left are the images.  If you know which ones were associated with the extension you can just mass delete them.

 Signature 
Profile
MSG
 
 
   
 
 
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: 66391 Total Logged-in Users: 46
Total Topics: 84715 Total Anonymous Users: 16
Total Replies: 454694 Total Guests: 190
Total Posts: 539409    
Members ( View Memberlist )