1 of 2
1
Error message after upgrade from 1.6.8 to 1.6.9
Posted: 11 May 2010 03:06 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  257
Joined  06-25-2008

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.

NoticeUndefined indexuris 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 argumentsin /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537

Notice
Undefined indexuris 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 argumentsin /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.

Any ideas?
Nik

 Signature 

nickfoxall.com | ExpressionEngine Development in Hong Kong

Profile
 
 
Posted: 11 May 2010 07:17 AM   [ Ignore ]   [ # 1 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  30388
Joined  04-29-2002

Hi, Nick. you’re the second person having this issue, so we’re trying to see what you have in common.

Any third party addons?
Version of PHP?

.htaccess file?

Profile
MSG
 
 
Posted: 11 May 2010 07:37 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  257
Joined  06-25-2008

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;

php_value upload_max_filesize 14M
php_value post_max_size 25M
php_value memory_limit 64M

Action php5
-script /gs-bin/php-5.1.6-6
AddHandler php5
-script .php

# -- LG .htaccess Generator Start --

# .htaccess generated by LG .htaccess Generator v1.0.0
# http://leevigraham.com/cms-customisation/expressionengine/addon/lg-htaccess-generator/

# secure .htaccess file
<Files .htaccess>
 
order allow,deny
 deny from all
</Files>

# Dont list files in index pages
IndexIgnore *

# EE 404 page for missing pages
ErrorDocument 404 /index.php?/ftv/404_notfound

# Simple 404 for missing files
<FilesMatch "(\.jpe?g|gif|png|bmp)$">
  
ErrorDocument 404 "File Not Found"
</FilesMatch>

RewriteEngine On

RewriteBase 
/

# remove the www
RewriteCond %{HTTP_HOST} ^(www\.$) [NC]
RewriteRule 
http://%{HTTP_HOST}%{REQUEST_URI} [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]

# Remove index.php
# Uses the "include method"
# http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method
RewriteCond %{QUERY_STRING} !(ACT=[0-9]{1,3})
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_URI} ^/(ftv|search|AIST|_includes|about|troubleshooting|contact|members|P[0-9]{2,8}[NC]
RewriteRule 
^(.*)$ /index.php/$1 [L]

# Remove IE image toolbar
<FilesMatch "\.(html|htm|php)$">
  
Header set imagetoolbar "no"
</FilesMatch>

# -- LG .htaccess Generator End -- 

This site’s on mediaTemple, hence the action line at the top to force PHP5.

Nik

 Signature 

nickfoxall.com | ExpressionEngine Development in Hong Kong

Profile
 
 
Posted: 11 May 2010 01:03 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  47
Joined  03-07-2008

I’ve just upgraded a site from from 1.6.8 to 1.6.9, and I’m getting this error message on the front page:

Got java.io.EOFException (Server closed connection while sending the HTTP header.): http://www.mysitename.ie/

The CP is working fine.

Profile
 
 
Posted: 11 May 2010 01:14 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Rank
Total Posts:  47
Joined  03-07-2008

More information on above

Plugins
Remove Paragraph Tags (v.1.0)
Magpie RSS Parser (v.1.4)
Character Limiter (v.1.0)
Title (v.1.1)
Image Sizer (v.2.5.6)
URL and Email Auto-linker (v.1.0)
XML Encode (v.1.2)
Twitter Timeline (v.1.2)
Randomizer (v.1.0)
HTML Stripper (v.1.0.1)
Word Limiter (v.1.0)
Widon’t (v.1.0)

Extensions
FieldFrame (v.1.4)
LG Add Sitename (v.1.2.0)
LG Addon Updater (v.1.0.2)
LG .htaccess Generator (v.1.0.0)
Edit Tab AJAX (v.1.2.2)
Gypsy (v.1.0.6)
jQuery for the Control Panel (v.1.1.1)
Hidden Weblogs (v.1.0.3)
Publish Page Improvements (v.2.0.1)

PHP 5

.htaccess generated by LG htaccess Generator:

# -- LG .htaccess Generator Start --

# .htaccess generated by LG .htaccess Generator v1.0.0
# http://leevigraham.com/cms-customisation/expressionengine/addon/lg-htaccess-generator/

# secure .htaccess file
<Files .htaccess>
 
order allow,deny
 deny from all
</Files>

# Dont list files in index pages
IndexIgnore *

# EE 404 page for missing pages
ErrorDocument 404 /index.php?/site/index

# Simple 404 for missing files
<FilesMatch "(\.jpe?g|gif|png|bmp)$">
  
ErrorDocument 404 "File Not Found"
</FilesMatch>

RewriteEngine On

RewriteBase 
/

# remove the www
RewriteCond %{HTTP_HOST} ^(www\.$) [NC]
RewriteRule 
http://%{HTTP_HOST}%{REQUEST_URI} [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]

# Remove index.php
# Uses the "include method"
# http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_URI} ^/(teaching_change|search|blank|embed|about|services|media|change|philanthropy|index|pages|service|change_work|contact||members|P[0-9]{2,8}[NC]
RewriteRule 
^(.*)$ /index.php?/$1 [L]

# Remove IE image toolbar
<FilesMatch "\.(html|htm|php)$">
  
Header set imagetoolbar "no"
</FilesMatch>

# -- LG .htaccess Generator End -- 
Profile
 
 
Posted: 11 May 2010 02:36 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  47
Joined  03-07-2008

More information

I’m on PHP 5.2.9

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

Profile
 
 
Posted: 11 May 2010 10:51 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  257
Joined  06-25-2008

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…

$entry_id = (($TMPL->fetch_param('show_pages') == 'no') ? 'not ' '').implode('|'array_flip($pages['uris'])); 

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”.

Thoughts??
Nik

 Signature 

nickfoxall.com | ExpressionEngine Development in Hong Kong

Profile
 
 
Posted: 11 May 2010 10:57 PM   [ Ignore ]   [ # 7 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26092
Joined  05-14-2004

Are you both running LG .htaccess generator?  From other threads that appears to be a common element with this error.

 Signature 
Profile
MSG
 
 
Posted: 11 May 2010 11:23 PM   [ Ignore ]   [ # 8 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  257
Joined  06-25-2008

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.

I think the answer lies in the Pages module…?
Nik

 Signature 

nickfoxall.com | ExpressionEngine Development in Hong Kong

Profile
 
 
Posted: 11 May 2010 11:29 PM   [ Ignore ]   [ # 9 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26092
Joined  05-14-2004

Well the Pages module was updated in 1.6.9.  How much content do you have in your Pages module?

 Signature 
Profile
MSG
 
 
Posted: 11 May 2010 11:39 PM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  257
Joined  06-25-2008

I’m also finding Pages URIs are not resolving correctly (some of the time).

The Pages URI for the contact page is set as /contact/, and the link http://ftvtalkingpoints.tv/contact/ works.

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.

Nik

 Signature 

nickfoxall.com | ExpressionEngine Development in Hong Kong

Profile
 
 
Posted: 12 May 2010 12:06 AM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26092
Joined  05-14-2004

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.

 Signature 
Profile
MSG
 
 
Posted: 12 May 2010 01:00 AM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  257
Joined  06-25-2008

I can maybe try it… I only have a few Pages pages on this site. WIll take a while though.

If I delete the Pages module, am I going to lose all associated entries for those static pages? If yes, i need to backup first.

Which extension exactly do you want to see disabled? Or all extensions?
Nik

 Signature 

nickfoxall.com | ExpressionEngine Development in Hong Kong

Profile
 
 
Posted: 12 May 2010 09:31 AM   [ Ignore ]   [ # 13 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  30388
Joined  04-29-2002

Nick, do you have the ability to create a MAMP or WAMP site? That way you’d be fiddling with a copy of the data instead.

Profile
MSG
 
 
Posted: 12 May 2010 11:54 AM   [ Ignore ]   [ # 14 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  26092
Joined  05-14-2004

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.

 Signature 
Profile
MSG
 
 
Posted: 12 May 2010 11:57 AM   [ Ignore ]   [ # 15 ]  
Grad Student
Rank
Total Posts:  47
Joined  03-07-2008

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

Profile
 
 
Posted: 12 May 2010 02:31 PM   [ Ignore ]   [ # 16 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  33338
Joined  05-15-2004

Glad to see you’re all set. Nick, let us know how you get on with your testing.

Profile
MSG
 
 
Posted: 14 May 2010 04:17 AM   [ Ignore ]   [ # 17 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  257
Joined  06-25-2008

Absolutely no luck, very frustrating…

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…

NoticeUndefined indexuris 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 argumentsin /nfs/c01/h13/mnt/13336/domains/ftvtalkingpoints.tv/html/systemxx/modules/weblog/mod.weblog.php on line 1537

Notice
Undefined indexuris 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 argumentsin /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 mad

Nik

 Signature 

nickfoxall.com | ExpressionEngine Development in Hong Kong

Profile
 
 
Posted: 14 May 2010 04:31 AM   [ Ignore ]   [ # 18 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  257
Joined  06-25-2008

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).

I can get Troubleshooting Tips to come up if I enter http://ftvtalkingpoints.tv/ftv/troubleshooting/ (i.e. domain/template_group/template) but do the same for About us http://ftvtalkingpoints.tv/ftv/about/ and it loads the troubleshooting content…

weirder and weirder…? BTW this is an MSM site: the second site is here, but has no Pages entries.

UPDATE: oh, and now I have Troubleshooting tips coming up on my home page because it happens to be the latest entry. Totally ridiculous!

Nik

 Signature 

nickfoxall.com | ExpressionEngine Development in Hong Kong

Profile
 
 
   
1 of 2
1