This is a list of all php errors in my log. All of them occur at every cron run at http://www.mysite.com/?cron.php and as a result I get a cron error too.

The BG errors are:

scandir(/path/to/my/site/installation/directory/sites/default/files//tmp) [<a href='function.scandir'>function.scandir</a>]: failed to open dir: No such file or directory in /path/to/my/site/installation/directory/sites/all/modules/brilliant_gallery/brilliant_gallery.module on line 1141.
scandir() [<a href='function.scandir'>function.scandir</a>]: (errno 0): Success in /path/to/my/site/installation/directory/sites/all/modules/brilliant_gallery/brilliant_gallery.module on line 1141.
array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /path/to/my/site/installation/directory/sites/all/modules/brilliant_gallery/brilliant_gallery.module on line 1142.
array_shift() [<a href='function.array-shift'>function.array-shift</a>]: The argument should be an array in /path/to/my/site/installation/directory/sites/all/modules/brilliant_gallery/brilliant_gallery.module on line 1143.
Invalid argument supplied for foreach() in /path/to/my/site/installation/directory/sites/all/modules/brilliant_gallery/brilliant_gallery.module on line 1144.

Although I created the tmp/ folder in my files directory the errors persist. However, in the BG settings page it mentions that the temp folder is only necessary for Picasa galleries, which I am not using at all. It seems to me though that some of the errors have nothing to do with the temp directory, although they are most likely related. However, the cron errors still occur and cron seems to get stuck every time it runs. This is the error, which only started when I updated to the latest version:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so: undefined symbol: executor_globals_id in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_sqlite.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_sqlite.so: undefined symbol: core_globals_id in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/sqlite.so: undefined symbol: core_globals_id in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_mysql.so: undefined symbol: core_globals_id in Unknown on line 0
PHP Warning:  Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0

I am running Drupal on a shared host, so I don't think I can access the /usr/ folder. And I am pretty sure I did not need Zend Optimizer before either.

Any ideas why this may be happening? If you need any further information do let me know.

Comments

drpchris’s picture

I saw something like this and it was because I had the incorrect entry in my temp cache directory in the BG configuration page. I had a full path (like '/home4/www/user/html/drupal/sites/default/files/tmp') when it should have just been 'tmp' since that's the directory under my 'files' directory.

The zend optimizer errors are either a misconfig in your php.ini file or your host changed something and didn't tell you.

castawaybcn’s picture

Category: bug » support
Status: Active » Fixed

thanks chris, you were right with both issues.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.