Severe linking error
Posted: 02 July 2008 01:24 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  296
Joined  08-13-2003

Hi all,

I’m stumped and in need of help.

I delivered a small site to a client in January (built on EE 1.6.2). The client should fill it with content, but that didn’t happen until this week. When I viewed the site again after half a year ALL links were screwed up. I started by updating the site to EE 1.6.4.

I’ve used relative linking which suddenly didn’t work. I’ve fixed the linking to css-files, images and so on, but the most serious is that the links to the various templates are completely broken.

What’s weird is that the links in the menu are correct. When clicked the page reloads and the correct address appear in the address bar. Only the page remains the same, defaulting to the index page. Even if I bypass the menu and go to a template and click “view rendered template”, EE shows the index page and DOES NOT render the code in the template. The same if I manually write in the address it should have.

I’ve checked the various URLs in cp/admin/system preferences/general configuration, cp/admin/weblog management/ - paths of the two weblogs and the config.php file. It all checks out.

I turned on template debuggning and it’s clearly something going on: when clicking the menu for the main content template “bilder” it instead fetched the index template as follows:

(0.000017) - Begin Template Processing -
(0.000581) URI:
(0.000598) Path.php Template: /
(0.000618) Retrieving Template
(0.000635) Parsing Template URI
(0.000650) Site Index Determined
(0.000678) Retrieving Template from Database: /index
(0.027906) Template Found
(0.046712) Retrieving Template from File
(0.070201) Template Type: webpage
(0.070394) Parsing Site Variables

I enclose the entire output below. The site (not released yet) is here.

The host is the client’s and I have no idea if they have moved things around. I’ve updated server paths just to be sure, but I’m not very good with MySQL to determine if there is something going on there.

Hope you can help!

/ Ayza

 Signature 

Lidne Inc. :: Business by Design

Profile
 
 
Posted: 02 July 2008 05:12 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12390
Joined  04-29-2002

Ayza -

What’s weird is that the links in the menu are correct. When clicked the page reloads and the correct address appear in the address bar. Only the page remains the same, defaulting to the index page. Even if I bypass the menu and go to a template and click “view rendered template”, EE shows the index page and DOES NOT render the code in the template. The same if I manually write in the address it should have.

If you take one of the URLs that doesn’t work, and add a question mark after your index.php part of it, does that work?

See this EEKB: Main Page Content Appears on Every Page

Did that help?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

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: 64938 Total Logged-in Users: 54
Total Topics: 81909 Total Anonymous Users: 44
Total Replies: 440316 Total Guests: 301
Total Posts: 522225    
Members ( View Memberlist )