ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

SAEF broke-down after upgrade from 1.5 to 1.6

June 27, 2007 9:43am

Subscribe [3]
  • #1 / Jun 27, 2007 9:43am

    Patrick Savalle

    31 posts

    Could it be that upgrading from 1.5 to 1.6 will break down the SAEF?

    Warning: implode() [function.implode]: Bad arguments. in /opt/websites/system/modules/weblog/mod.weblog_standalone.php on line 209

    path edited by mod

  • #2 / Jun 27, 2007 10:06am

    elwed

    151 posts

    Same here for SAEF. I’m running the 20070626 build.

  • #3 / Jun 27, 2007 10:41am

    Robin Sowell

    13255 posts

    Let’s hit the SAEF issue in this thread- wouldn’t be a bad idea to start a new thread for the forum issue.

    I’m not replicating- just stuck a copy of the default on a template- no error.  Took a look at the code- I think it’s horking on an implode related to site.  Hard to say for sure whether there’s a bug or not- if you flip ‘show queries’ on, are you getting output?  Or are we white screening aside from errors.  If you CAN turn/see queries- look for one like:

    SELECT weblog_id FROM exp_weblogs WHERE site_id = '1' AND is_user_blog = 'n'

    I suspect the site id may be off there.  Not sure.  And if one of you want to pm me superadmin access- username, password, cp url- and point me to the correct template- I can go in and take a closer look.  See if I can figure why it’s throwing an error for you and not me.  (Assuming it’s not an issue of a corrupted file- which is possible.  Could try deleting then re-uploading the weblog folder.  Wouldn’t hurt to eliminate that possibility off the bat.)

  • #4 / Jun 27, 2007 11:36am

    elwed

    151 posts

    According to diff -r, the installed weblog folder is clean.

    I find the query

    SELECT weblog_id FROM exp_weblogs WHERE site_id = '1' AND is_user_blog = 'n'

    and it returns the set of all weblogs associated with site 1 (there are no other sites).

    The next query, which matches the line of the PHP error is

    SELECT weblog_id from exp_weblogs WHERE site_id IN ('') AND blog_name = 'XXX' AND is_user_blog = 'n'

    and this one returns an empty set. The site_id IN (’‘) part doesn’t seem right. It looks like the query changed between 1.5.2 and 1.6.0 and the current code barfs on the chunk of code below

    implode("','", $TMPL->site_ids)

    If nothing obvious comes to mind, I can PM you login details.

  • #5 / Jun 27, 2007 11:41am

    Derek Jones

    7561 posts

    Bug Report: SAEF broke-down after upgrade from 1.5 to 1.6 confirms and notes how to obtain an early fix if required.  The download will be updated today, though, I’m sure.

  • #6 / Jun 27, 2007 11:46am

    elwed

    151 posts

    Thanks, Derek. I can wait for a new build.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases