1.4.3.2 Upgrade Problem

www.david-marsh.com
Upgrading I think from 1.4.2.x.
Uploaded complete zp-core, themes and index.php.
Setup runs with warnings.
One warning said my permissions were too lax and would I like them tightened, so I said yes.
Subsequently running setup says:

Parse error: syntax error, unexpected '/' in /home/myname/public_html/zp-core/setup.php(225) : eval()'d code on line 42

and zp-data/setup.log says:

Zenphoto Setup v1.4.3.2[10732]: Sun, 09 Sep 2012 11:39:12 -0500
Query error: Access denied for user 'nobody'@'localhost' (using password: NO)
Backtrace: CAUGHT EXCEPTION: Cannot modify header information - headers already sent by (output started at /home/myname/public_html/zp-core/setup.php(225) : eval()'d code:42) in /home/myname/public_html/zp-core/setup.php on line 341 setcookie called from setup.php [341]

Checked/reset permissions, so that .htaccess, zp-core, and zp-data are 777 (yes, too lax) but same problem.

Any suggestions as to what I should look for?

David

Comments

  • There is something amiss in your configuration file. Look at line 42 of the file and see what it reads. It may be necessary for you to post the entire file. If so, be sure you obscure your database credentials.
  • Line 42 (of zp-data\zenphoto.cfg) says
    /$conf['CHMOD'] = 0666;

    Line 91 says
    if (!defined('CHMOD_VALUE')) { define('CHMOD_VALUE', $conf['CHMOD']); }

    rest of file looks identical (visual check only) to zp-config.php or previous version.
  • Got it (maybe!)
    Line 42 /$conf['CHMOD'] = 0666;

    removed the /
    and I'm back to the upgrade system checks output, so should be able to make progress.

    Thank you.
  • Confirm my upgrade has now worked. Thanks.

    Guess there's a problem of how line 42 got generated with the extra /
    /$conf['CHMOD'] = 0666;

    I'll leave that with you (and, thanks for your support on a Sunday evening).
  • So do you still have the previous version of the config file? Id so, what were those lines in it?
  • Lines 42 and 91 of new config file zenphoto.cfg were not present in the previous file zp-config.php
Sign In or Register to comment.