Pigalle on Freebsd 4.10-PRERELEASE errors

Get help with installation and running Pigalle picture gallery here. Please do not post bug reports or feature requests here.

Moderators: Moderator Team, Development Team

Pigalle on Freebsd 4.10-PRERELEASE errors

Postby Naqoyqatsi on Sat Jun 05, 2004 3:41 pm

Hi there,

I've been trying to get pigalle working on my freebsd machine. I installed Apache 2 and PHP 5.0rc2 on it from the ports-tree. Installed ImageMagic and MySQL 4.x on it. Everything working fine. However, after changing the path to the ImageMagic convert binary executable I run into (what it seems) huge problems. Here's what I'm getting.

* @copyright Copyright (c) 2000-2004 PHPEE.COM * @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License * @version $Id: config.inc.php,v 1.9 2004/05/06 13:56:04 cvs_iezzi Exp $ */ // global SOURDOUGH configuration $conf = array( 'php_ext' => 'php', // Sourdough php file extension (SOURD_PHPEXT deprecated!) 'log_db' => false, // enable db log 'log_err' => false // enable error log ); // database configuration $conf['dsn'] = array( 'phptype' => 'mysql', 'username' => 'sampleuser', 'password' => 'samplepw', 'protocol' => null, 'hostspec' => 'localhost', 'port' => null, 'socket' => null, 'database' => 'sampledb' ); $conf['dboptions'] = array( 'persistent' => true, // [TRUE|FALSE] 'prefix' => 'sourd_', // prefix for all tables // optional: custom datatypes (set this to a filename if you wish to use custom datatypes) 'customdt' => '' ); // session configuration $conf['session'] = array( 'provider' => 'sql', // [sql|php] 'table' => 'session', // Session table 'table_autocreate' => true, // automatically create session table if it's not around 'name' => 'sid', // Session name 'prefix' => '', // prefix for session name 'expires' => 0, // expiry in seconds (if set to 0, use gctime instead) 'gc_phpini' => false, // gc: override garbage-collection settings below with the ones from php.ini 'gc_maxlifetime' => 1440, // gc: Purge all session data older than 24 minutes. 'gc_probability' => 1, // gc: Garbage collection probability 'gc_divisor' => 100, // gc: Garbage collection devisor (probability = gc_probability/gc_divisor) 'headers' => 'no', // page header: [passive|no|private|public] 'cacheExpire' => 1440 // page header: If caching is allowed, data expires in this many seconds ); // authentication configuration $conf['auth'] = array( 'type' => 'challenge-response', // [challenge-response|standard] 'encryption' => 'md5-hex', // [plain|md5-hex|sha|crypt|md5-base64|ssha|smd5|aprmd5] 'lifetime' => 1200 // authentication lifetime in seconds (defaults to 20 minutes) ); // user configuration $conf['user'] = array( 'table' => 'user', // User table 'table_autocreate' => true, // automatically create user table if it's not around 'level_usr' => 1, // regular user level (minimum level of each logged in user) 'level_mod' => 2, // moderator level 'level_adm' => 3 // administrator level ); // settings library configuration $conf['setting'] = array( 'table' => 'settings', // Settings table 'table_autocreate' => true // automatically create settings table if it's not around ); // image library configuration $conf['image'] = array( 'im_path' => '/usr/local/bin/', // ImageMagick path to the binaries 'im_path_win32' => 'C:\\Program Files\\ImageMagick\\', // ImageMagick path to the binaries (win32) 'netpbm_path' => '/usr/bin/', // NetPBM path to the binaries 'netpbm_path_win32' => 'C:\\Program Files\\NetPBM\\' // NetPBM path to the binaries (win32) ); // XSLT configuration $conf['xslt'] = array( 'xalan_bin' => '/usr/bin/xalan', // Xalan binary 'xsltproc_bin' => '/usr/bin/xsltproc', // XSLTPROC binary 'xsltproc_nonet' => true, 'force_engine' => false, // override engine auto-detection 'engine' => 'dom' // [sablot|dom|xsltproc|xalan|php5] ); // FormMail configuration // TODO: send_bcc $conf['formmail'] = array( 'send_to' => 'contact@example.com', // email to send submitted form data. If empty, use value from form ('send_to' field) 'send_cc' => '', // carbon copies (single email address or array of addresses) 'send_bcc' => '', // blind carbon copies (single email address or array of addresses) 'subject' => '', // subject. If empty, use value from the form's 'subject'-field 'referrers' => array('example.com', '127.0.0.1'), // allowed referrers (list of local domains) 'attachment_enabled' => false, // allow attachments submitted by the form 'logging_on' => true, // email logging (writes CVS file with data of submitted forms) 'database_file' => 'log/email.csv', // Set the location where your logfile should be stored 'database_fields' => '*', // fields to collect. Either '*' (collect all) or an array of fields 'redirect' => true, // redirect user after submitting form 'redirect_url' => 'http://www.example.com/index.php?msg=emailsent', 'autoresponder_enabled' => true, // auto-responder 'autoresponder_from' => 'contact@example.cm', 'autoresponder_subject' => '%subject% (autoresponse)' ); $conf['formmail']['autoresponder_message'] = <<
Notice: Undefined variable: conf in /usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sourdough.class.php on line 66

Notice: Undefined index: log_err in /usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sourdough.class.php on line 82

Notice: Undefined index: log_db in /usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sourdough.class.php on line 117

Notice: Undefined index: provider in /usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sourdough.class.php on line 113

Warning: Sourdough::getSession(/usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sd_Session/Sd_Session_.class.php) [function.getSession]: failed to open stream: No such file or directory in /usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sourdough.class.php on line 165

Warning: Sourdough::getSession() [function.include]: Failed opening '/usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sd_Session/Sd_Session_.class.php' for inclusion (include_path='.:') in /usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sourdough.class.php on line 165

Fatal error: Class 'Sd_Session_' not found in /usr/local/www/data-dist/php/pigalle/private/lib/sourdough/Sourdough.class.php on line 167

Beats me what all this is about. Might be an error in the userrights but I honestly couldn't be forced to find out. I'm not that good in debugging this kind of problems.

Next to that, before I changed the path to the ImageMagic convert binary I wasn't able to log in as admin using the standard password as described in the installation document. Since the password is hashed I'm wondering if there is an easy way to change it. If possible using plain SQL statements.

Thanks a lot!

Naq.
Show me a sane man and I will cure him for you - CG Jung
Naqoyqatsi
 
Posts: 1
Joined: Sat Jun 05, 2004 3:32 pm
Location: Netherlands

Return to Pigalle Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron