I’m getting a strange set of error messages on the front of my site after upgrading from 1.6.8 to 1.6.9. This is an MSM site, managing 2 sites, and yes I did reinstall the MSM core files after the 1.6.9 upgrade.
Notice: Undefined index: uris in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemfxx/modules/weblog/mod.weblog.php on line 1537
Warning: array_flip() [function.array-flip]: The argument should be an array in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Warning: implode() [function.implode]: Bad arguments. in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Notice: Undefined index: uris in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Warning: array_flip() [function.array-flip]: The argument should be an array in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Warning: implode() [function.implode]: Bad arguments. in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
It only appears as an error message to me, as super admin, and it doesn’t appear to be affecting the overall functionality or performance of the site at the moment. I tried reinstalling mod.weblog.php and clearing all caches, but I’m still getting the error.
Here’s a full list…. however, disabling all extensions doesn’t cure the problem.
Extensions
Edit Alert (v.1.1)
LG Add Sitename (v.1.2.0)
Edit Tab AJAX (v.1.2.2)
LG .htaccess Generator (v.1.0.0)
LG Twitter (v.2.1.0)
LG Member List (v.1.2.1)
Creates a member list custom field type
Google Analytics Panel (v.1.1.5)
Twomile Login Redirect (v.1.1.0)
Pur Developer (v.1.2.1)
File, by Mark Huot (v.3.1.1)
jQuery for the Control Panel (v.1.1.1)
LG Addon Updater (v.1.0.2)
FieldFrame (v.1.4.2)
Editor (v.1.0.2)
Gypsy (v.1.0.6)
Publish Tweeks (v.0.8)
Plugins
Magpie RSS Parser (v.1.4)
Image Sizer (v.2.5.6)
Word Limiter (v.1.0)
XML Encode (v.1.2)
Member List (v.1.1)
Word Limiter Plus (v.1.0)
Gravatar (v.2.1)
Randomizer (v.1.0)
Modules
Freeform (2.7.2)
PHP is Version 5.1.6
.htaccess is generated by LG htaccess Generator, and looks like this;
# Add a trailing slash to paths without an extension RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule ^(.*)$ $1/ [L,R=301]
# Add a trailing slash to paths without an extension RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule ^(.*)$ $1/ [L,R=301]
If this is any use: I have gone through all of the items listed on http://expressionengine.com/docs/installation/troubleshooting.html and only the Add “shebangs” one made any difference. My pages displayed, but with the #!/usr/bin/php line displaying at the top. All of the pages were incomplete – they all stop about halfway down.
Please help as I would like to urgently resolve this issue.
Thanks
In my case (first post above), I think its something to do with the Pages Module… The error messages refer to line 1537 inside mod.weblog.php. Line line 1537 reads…
The right hand sidebar at http://ftvtalkingpoints.tv/ pulls entries from the “ftvtalkingpoints” weblog, and has the parameter show_pages=“no”. But you can see towards the bottom that Pages entries like ‘About Us’ and ‘Troubleshooting Tips’ are showing up in the list, despite show_pages being set to “no”.
Yes, but no dice… disabled LG .htaccess generator extension, removed LG code from .htaccess file, put index.php back in System Preferences > General Configuration, but still getting the error message.
The Pages URI for the about us page is set as /about/ but it doesn’t work… http://ftvtalkingpoints.tv/about/ ... goes to my 404 page. Same for Troubleshooting Tips (links in the footer). URI is /troubleshooting/ but links go to a 404.
I am worried that the extensions may be causing issues when creating Pages. If someone has only 2-3 Pages and wouldn’t mind testing it too much, it would be great to disable the extension, uninstall and reinstall the Pages module and create a page - see if it works. Then enable the extension and create another Page and see what happens. I suspect that in the latter step, things will break, based on other threads on this issue and our inability to reproduce this on extension-free installations.
The above troubleshooting will cause data loss, so a testing environment is recommended for the tests, and a good, recent backup.
I think that it may be LG .htaccess that is creating the issue, as per those other threads. But it’s probably best to test without any extensions in play.
Turns out my issue was with my host, they restarted the apache webservice on the server my site is on and it works again. It’s possible that I caused it to not work during the upgrade process. Either way I’m out of the woods. thanks
I tried turning off extensions, removing all Pages entries, uninstalling and reinstalling Pages, removing all code created by LG .htaccess Generator from my .htaccess file (and putting index.php back in General Prefs), but I’m still getting the same error messages…
Notice: Undefined index: uris in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Warning: array_flip() [function.array-flip]: The argument should be an array in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Warning: implode() [function.implode]: Bad arguments. in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Notice: Undefined index: uris in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Warning: array_flip() [function.array-flip]: The argument should be an array in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Warning: implode() [function.implode]: Bad arguments. in /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537
Even with no extensions on, no .htaccess file, and no Pages weblog entires in the system, I get the above errors as soon as I install (turn on) the Pages module. Clearly there’s a problem here with Pages itself, seems to me
I’m also finding that if I remove the parameter show_pages=“no” from the sidebar weblog entries tag, the errors go away. Also happens if I leave the show_pages parameter in, and set it to yes.
If you look at the contact page here which is a Pages entry, you’ll see there’s a link to Contact Us and About Us in the right column, which shouldn’t be there… something is overriding show_pages=“no” and causing the error messages.
Also, links to other Pages entries for About Us and Troubleshooting Tips simply don’t work. The links at the top and bottom of the page don’t work, and the links in the sidebar are loading into the wrong template (they shouldn’t be there anyway).