![]() |
|
1.2.8 Installation, Problems and Bugs - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: 1.2.8 Installation, Problems and Bugs (/thread-6587.html) |
1.2.8 Installation, Problems and Bugs - pauschpage - 12-02-2010 Hello, i'm new to zenphoto, and i tried to install the current version of it. The installation worked, I copy them here, ('/', $adminalbum); $found = true; foreach ($admin_folders as $level=>$folder) { if ($level >= count($desired_folders) || $folder != $desired_folders[$level]) { $found = false; break; } } if ($found) { return true; } } } return false; } / Returns the path to a watermark @param string $wm watermark name @return string */ function getWatermarkPath($wm) { $path = SERVERPATH . '/' . ZENFOLDER . '/watermarks/' . internalToFilesystem($wm).'.png'; if (!file_exists($path)) { $path = SERVERPATH . '/' . USER_PLUGIN_FOLDER . '/watermarks/' . internalToFilesystem($wm).'.png'; } return $path; } /* mysql_real_escape_string standin that insures the DB connection is passed. @param string $string @return string / function zp_escape_string($string) { global $mysql_connection; return mysql_real_escape_string($string,$mysql_connection); } / Checks to see if access was through a secure protocol @return bool / function secureServer() { if(isset($_SERVER['HTTPS']) && strpos(strtolower($_SERVER['HTTPS']),'on')===0) { return true; } return false; } ?> eturn false; } foreach ( (array) array_keys($_zp_filters[$hook]) as $priority ) { if ( isset($_zp_filters[$hook][$priority][$idx]) ) return $priority; } return false; } ?> $index = $this->getIndex(); if (!is_null($_zp_current_search) && !in_context(ZP_ALBUM_LINKED)) { $image = $_zp_current_search->getImage($index-1); } else { $image = $this->album->getImage($index-1); } return $image; } / returns the custom data field @return string / function getCustomData() { return get_language_string($this->get('custom_data')); } / Sets the custom data field @param string $val the value to be put in custom_data / function setCustomData($val) { $this->set('custom_data', $val); } /* Returns the disk size of the image @return string */ function getImageFootprint() { return filesize($this->localpath); } } ?> Warning: Cannot modify header information - headers already sent by (output started at /home/HIDDEN/html/redesign/zenphoto/zp-core/functions-basic.php:1230) in /home/HIDDEN/html/redesign/zenphoto/zp-core/functions.php on line 1603 Warning: Cannot modify header information - headers already sent by (output started at /home/HIDDEN/html/redesign/zenphoto/zp-core/functions-basic.php:1230) in /home/HIDDEN/html/redesign/zenphoto/zp-core/functions.php on line 1603 Warning: Cannot modify header information - headers already sent by (output started at /home/HIDDEN/html/redesign/zenphoto/zp-core/functions-basic.php:1230) in /home/HIDDEN/html/redesign/zenphoto/index.php on line 146 Warning: Cannot modify header information - headers already sent by (output started at /home/HIDDEN/html/redesign/zenphoto/zp-core/functions-basic.php:1230) in /home/HIDDEN/html/redesign/zenphoto/index.php on line 147 Warning: Cannot modify header information - headers already sent by (output started at /home/HIDDEN/html/redesign/zenphoto/zp-core/functions-basic.php:1230) in /home/HIDDEN/html/redesign/zenphoto/index.php on line 148 Warning: Cannot modify header information - headers already sent by (output started at /home/HIDDEN/html/redesign/zenphoto/zp-core/functions-basic.php:1230) in /home/HIDDEN/html/redesign/zenphoto/themes/default/index.php on line 2 Could anybody tell me, what i did wrong? Thanks! 1.2.8 Installation, Problems and Bugs - kagutsuchi - 12-02-2010 Are you using a Webkit-based browser (such as Safari or Chrome)? If so, there is an issue that will occasionally cause some code to be output to the current page. Do you see this every time you open a zenphoto page or only sometimes? You might also want to try using a different browser to test if it still occurs. Also, the warnings are not errors, so your installation should be fine, I think. 1.2.8 Installation, Problems and Bugs - pauschpage - 12-02-2010 hi there, When i try to enter the admin panel, i get 1.2.8 Installation, Problems and Bugs - acrylian - 12-02-2010 Try a reupload to be sure that not some files got accidentally corrupted. Webkit browser like Safari do sometimes show some JS unnecessarily but that is just a line here an there, not full sets of errors (Safari is my main browser, too) and a simple page reload solves that actually. Also be sure that the setup does not complain about permissions. |