-
- 834 Posts
Noooooo.
I really think something else is going on.
Content Creator and Copywriter
Fatal error: Call to undefined method modX::getFullTableName() in /home/hotbutto/public_html/core/cache/includes/elements/modplugin/2.include.cache.php on line 31
This error makes it very clear that there is in fact a plugin, plugin #2, that is running with bad code. Did you at one time have a plugin, but removed it from the Elements tree? Have you looked in the Elements tree, in the Plugins section, for such a plugin? Its ID will be in parentheses next to the plugin's name, just as resource IDs are.
-
- 834 Posts
That's where I looked and there is no plugin there.
Turning the alias path on and off and endlessly clearing the cache seems to have got rid of that particular error anyway.
The main problem now is that with it off the pages work but have the container/folder part of the url stripped out.
If I turn it on, it puts the containers in twice in the url.
I'm wondering if I've done something screwy in my template settings
<base href="[[!++site_url]]" />
<link rel="canonical" href="[[site_url]][~[*id*]~]" />
Content Creator and Copywriter
Then at one time you were using such a plugin, and it got stuck in the cache. You can always completely delete all those folders under core/cache/, and let MODx re-populate the cache.
This is definitely wrong (using Evo tags)
<link rel="canonical" href="[[site_url]][~[*id*]~]" />
It should be
<link rel="canonical" href="[[++site_url]][[~[[*id]]]]" />
-
- 834 Posts
Making slow progress.
With User Friendly Alias path set to yes the urls are correct, at least for the actual page and in the address bar.
However, for links that are on the page, ie in the content, the container/folder part of the url is doubled up as I mentioned earlier.
If I turn it off almost the reverse happens. Ie the links on the page are correct, but the folders get stripped out of the urls on the actual page. (I really hope that's clearer than it sounds.)
Now I'm thinking it's either something else in my template or the chunk I use to call the content to the page.
Content Creator and Copywriter
What do your link tags look like in content?
-
- 834 Posts
With alias path turned on they look like this
http://makethemclick.net/library/social-media-marketing/library/social-media-marketing/linkedin-deletes-your-web-and-blog-links
IE too many library/social-media-marketing/library/social-media-marketing
Should only be one set.
The actual destination page's url is correct.
As I said, I think I've written an off call somewhere.
This is what's calling the content onto the page
<li>
<h2><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h2>
<P>[[+tv.blog-summary]]</p>
<br/>
<a href="[[~[[+id]]]]">read more...</a>
<br/>
[[+publishedon:strtotime:date=`%b %d, %Y`]]
</li>
Nah, that's a red herring. Just tried it on another page and template and worked fine.
Must be something in the original template that's throwing.
Still, it's progress.
Content Creator and Copywriter
-
- 834 Posts
And the Homer Simpson "Doh" award for the week goes too.... ME.
I had left an l off url when changing the brackets in the
<base href="[[!++site_url]]" /> of one of my templates.
Content Creator and Copywriter