I have installed zend & picsa node picasa_node_album-7.x-1.x-dev and in the configure I gave the picasa folder name it gave me this error

Fatal error: require_once() [function.require]: Failed opening required 'picasa_node_album-7.x-1.x-dev/Loader/Autoloader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/sacoin/public_html/sunnyvale-chennai.in/picasa_node_album-7.x-1.') in /home/sacoin/public_html/sunnyvale-chennai.in/sites/all/modules/zendt/zend.module on line 18

I removed zend & picasa folder from the modules folder then too the issue. pls save me SOS site down.

Comments

robloach’s picture

Try update.php... If that fails, try clearing the cache via Drush.... If you don't have Drush, remove both Zend and Picsa rows from the System table in the database.

robloach’s picture

Status: Active » Postponed (maintainer needs more info)
mmilano’s picture

Hi, I'm the author of picasa node album, which has the zend dependency.

Users can get into trouble if they don't have the libraries module enabled. There is no validation manually setting the path, nor is there any warning to set the path after installation. The module will blindly try to include the Autoloader.php file even if the path is invalid.

I'd recommend either:

1) adding the libraries dependency,

or 2) validating the path when the user saves the zend_admin() form. Then also set a system var that a valid path was configured so that can be part of the test before including Autoloader.php.

Also it wouldn't hurt to add a sample path in the description of the text field. i.e. sites/all/libraries/Zend ... just so it is clear they need to have Zend in the path, and not just the path to Zend.

Test case for the scenario here: Without libraries enabled, install the zend module and Zend library. Configure the path wrong and save the settings.

If you need a patch for option 2, let me know and I'll craft something up.

Mike