Here is the error log from the root of the zenphotos
[07-Aug-2012 20:30:48] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106 [07-Aug-2012 20:31:22] PHP Fatal error: Call to a member function getNumImages() on a non-object in /home/spoilert/public_html/images/zp-core/template-functions.php on line 1806 [07-Aug-2012 20:31:30] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106 [07-Aug-2012 20:31:32] PHP Fatal error: Call to a member function getNumImages() on a non-object in /home/spoilert/public_html/images/zp-core/template-functions.php on line 1806
Here is the Error Log from the zp-core folder [07-Aug-2012 20:31:17] PHP Notice: class-album detected an invalid folder name: movies/Bond 23 Skyfall. in /home/spoilert/public_html/images/zp-core/class-album.php on line 68 [07-Aug-2012 20:31:17] PHP Notice: class-album detected an invalid folder name: movies/Resident Evil Retribution. in /home/spoilert/public_html/images/zp-core/class-album.php on line 68 [07-Aug-2012 20:31:17] PHP Notice: class-album detected an invalid folder name: movies/Underworld 4 Awakening. in /home/spoilert/public_html/images/zp-core/class-album.php on line 68 [07-Aug-2012 20:31:18] PHP Notice: class-album detected an invalid folder name: movies/Bond 23 Skyfall. in /home/spoilert/public_html/images/zp-core/class-album.php on line 68
Here is what is generated in the Log file when I try to access the homepage
[07-Aug-2012 20:54:59] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106 [07-Aug-2012 20:55:10] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106 [07-Aug-2012 20:55:12] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106 [07-Aug-2012 20:55:23] PHP Fatal error: Call to a member function getNumImages() on a non-object in /home/spoilert/public_html/images/zp-core/template-functions.php on line 1845 [07-Aug-2012 20:55:27] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106 [07-Aug-2012 20:55:34] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106 [07-Aug-2012 20:55:36] PHP Fatal error: Call to a member function getNumImages() on a non-object in /home/spoilert/public_html/images/zp-core/template-functions.php on line 1845
This is the code from line 1106 in the class-album.php
trigger_error($msg,E_USER_NOTICE);
This is the function it's coming from.
private function loadFileNames($dirs=false) { $albumdir = $this->localpath; $dir = @opendir($albumdir); if (!$dir) { if ($this->isDynamic()) { // there are no 'real' files return array(); } if (!is_dir($albumdir)) { $msg = sprintf(gettext("Error: The album named %s cannot be found."), html_encode($this->name)); } else { $msg = sprintf(gettext("Error: The album %s is not readable."), html_encode($this->name)); } trigger_error($msg,E_USER_NOTICE); return array(); }
Zenphoto Setup v1.4.3.1[10590]: Tue, 07 Aug 2012 20:30:52 +0100 Warn: Setup did not perform a test of the filesystem character set. You can cause setup to test for a proper definition by creating a file in your zp-data folder named charset_tést and re-running setup.If your server filesystem character set is different from ISO‑8859‑1 and you create album or image filenames names containing characters with diacritical marks you may have problems displaying the names.Change the filesystem character set define to Unknown ASMO-708 BIG5 CISO2022JP CP1026 CP870 DOS-720 DOS-862 EBCDIC-CP-US EUC-CN EUC-JP EUC-KR GB2312 HZ-GB-2312 IBM437 IBM737 IBM775 IBM850 IBM852 IBM857 IBM861 IBM869 ISO-2022-JP ISO-2022-KR ISO-8859-1 ISO-8859-15 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 ISO-8859-7 ISO-8859-8 ISO-8859-8-i ISO-8859-9 JOHAB KOi8-R KOi8-U KS_C_5601-1987 MACINTOSH SHIFT_JIS UNICODE UNICODEFFFE US-ASCII UTF-7 UTF-8 WINDOWS-1250 WINDOWS-1251 WINDOWS-1252 WINDOWS-1253 WINDOWS-1254 WINDOWS-1255 WINDOWS-1256 WINDOWS-1257 WINDOWS-1258 WINDOWS-874 cp866apply.If you do not know the character set try "UTF-8" Warn: MySql Version 5.0.0 or greater is required. Version 5.5.0 or greater is preferred. Use a lower version at your own risk. Completed system check Set Zenphoto default options Set theme default options for default started Option handler for default instantiated Set theme default options for default completed Notice: "Module mod_rewrite" is working. The Zenphoto option "mod_rewrite" is "enabled". Set theme default options for stopdesign started Set theme default options for effervescence_plus started Option handler for stopdesign instantiated Set theme default options for stopdesign completed Option handler for effervescence_plus instantiated Set theme default options for effervescence_plus completed Set theme default options for garland started Option handler for garland instantiated Set theme default options for garland completed Set theme default options for zenpage started Option handler for zenpage instantiated Set theme default options for zenpage completed Set theme default options for zpmobile started Option handler for zpmobile instantiated Set theme default options for zpmobile completed
Comments
http://spoilertv.co.uk/images/
[07-Aug-2012 20:30:48] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106
[07-Aug-2012 20:31:22] PHP Fatal error: Call to a member function getNumImages() on a non-object in /home/spoilert/public_html/images/zp-core/template-functions.php on line 1806
[07-Aug-2012 20:31:30] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106
[07-Aug-2012 20:31:32] PHP Fatal error: Call to a member function getNumImages() on a non-object in /home/spoilert/public_html/images/zp-core/template-functions.php on line 1806
Here is the Error Log from the zp-core folder
[07-Aug-2012 20:31:17] PHP Notice: class-album detected an invalid folder name: movies/Bond 23 Skyfall. in /home/spoilert/public_html/images/zp-core/class-album.php on line 68
[07-Aug-2012 20:31:17] PHP Notice: class-album detected an invalid folder name: movies/Resident Evil Retribution. in /home/spoilert/public_html/images/zp-core/class-album.php on line 68
[07-Aug-2012 20:31:17] PHP Notice: class-album detected an invalid folder name: movies/Underworld 4 Awakening. in /home/spoilert/public_html/images/zp-core/class-album.php on line 68
[07-Aug-2012 20:31:18] PHP Notice: class-album detected an invalid folder name: movies/Bond 23 Skyfall. in /home/spoilert/public_html/images/zp-core/class-album.php on line 68
I've got the gallery sort of working.
When I access a subalbum eg
http://spoilertv.co.uk/images/90210/
it works
However the homepage does not load
http://spoilertv.co.uk/images/
It's just blank
[07-Aug-2012 20:54:59] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106
[07-Aug-2012 20:55:10] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106
[07-Aug-2012 20:55:12] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106
[07-Aug-2012 20:55:23] PHP Fatal error: Call to a member function getNumImages() on a non-object in /home/spoilert/public_html/images/zp-core/template-functions.php on line 1845
[07-Aug-2012 20:55:27] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106
[07-Aug-2012 20:55:34] PHP Notice: Error: The album named cannot be found. in /home/spoilert/public_html/images/zp-core/class-album.php on line 1106
[07-Aug-2012 20:55:36] PHP Fatal error: Call to a member function getNumImages() on a non-object in /home/spoilert/public_html/images/zp-core/template-functions.php on line 1845
trigger_error($msg,E_USER_NOTICE);
This is the function it's coming from.
private function loadFileNames($dirs=false) {
$albumdir = $this->localpath;
$dir = @opendir($albumdir);
if (!$dir) {
if ($this->isDynamic()) {
// there are no 'real' files
return array();
}
if (!is_dir($albumdir)) {
$msg = sprintf(gettext("Error: The album named %s cannot be found."), html_encode($this->name));
} else {
$msg = sprintf(gettext("Error: The album %s is not readable."), html_encode($this->name));
}
trigger_error($msg,E_USER_NOTICE);
return array();
}
It seems it can't find my dir/folders/albumbs.
Is there somewhere where I can fix this.
Zenphoto Setup v1.4.3.1[10590]: Tue, 07 Aug 2012 20:30:52 +0100
Warn: Setup did not perform a test of the filesystem character set. You can cause setup to test for a proper definition by creating a file in your zp-data folder named charset_tést and re-running setup.If your server filesystem character set is different from ISO‑8859‑1 and you create album or image filenames names containing characters with diacritical marks you may have problems displaying the names.Change the filesystem character set define to Unknown ASMO-708 BIG5 CISO2022JP CP1026 CP870 DOS-720 DOS-862 EBCDIC-CP-US EUC-CN EUC-JP EUC-KR GB2312 HZ-GB-2312 IBM437 IBM737 IBM775 IBM850 IBM852 IBM857 IBM861 IBM869 ISO-2022-JP ISO-2022-KR ISO-8859-1 ISO-8859-15 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 ISO-8859-7 ISO-8859-8 ISO-8859-8-i ISO-8859-9 JOHAB KOi8-R KOi8-U KS_C_5601-1987 MACINTOSH SHIFT_JIS UNICODE UNICODEFFFE US-ASCII UTF-7 UTF-8 WINDOWS-1250 WINDOWS-1251 WINDOWS-1252 WINDOWS-1253 WINDOWS-1254 WINDOWS-1255 WINDOWS-1256 WINDOWS-1257 WINDOWS-1258 WINDOWS-874 cp866apply.If you do not know the character set try "UTF-8"
Warn: MySql Version 5.0.0 or greater is required. Version 5.5.0 or greater is preferred. Use a lower version at your own risk.
Completed system check
Set Zenphoto default options
Set theme default options for default started
Option handler for default instantiated
Set theme default options for default completed
Notice: "Module mod_rewrite" is working. The Zenphoto option "mod_rewrite" is "enabled".
Set theme default options for stopdesign started
Set theme default options for effervescence_plus started
Option handler for stopdesign instantiated
Set theme default options for stopdesign completed
Option handler for effervescence_plus instantiated
Set theme default options for effervescence_plus completed
Set theme default options for garland started
Option handler for garland instantiated
Set theme default options for garland completed
Set theme default options for zenpage started
Option handler for zenpage instantiated
Set theme default options for zenpage completed
Set theme default options for zpmobile started
Option handler for zpmobile instantiated
Set theme default options for zpmobile completed
Upgraded and now working!