Page 1 of 1

Strange graphics problems in backend

Posted: Sat 3. Jun 2006, 14:17
by Misiu
Hi,

I have just installed a 1.2.5 PHPWCMS, overcame all the path problems and all seems to work, however the backend looks strange, some graphics are not correctly represented, icons are missing etc.

Did any of you have such a problem before? Could it be problem with the server (ImageMagick) or some files were not correctly transferred during uploading files onto the server with ftp ... should I then try to re-install?

Also when I upload an image in the 'FILE' section ... strange things happen, ... some huge window opens, thumbnail is in the far bottom of the page and some big picture space is created, however the picture itself doesn't show...

I have installed that version of phpwcms before on different servers and never had such problems, all works perfect.

I'll be very gratefull for any hints and suggestions as to how could I solve this problem.

Here are the screens of the login and admin windows:

Image

Image

Posted: Sat 3. Jun 2006, 14:23
by pico
Hi

realy looks like there are some Files gone corrupted or missed by uploading
check your Transfer-Protocol for Errors - this sometimes happens when the Connection or the Server is busy.

btw 1.2.5 is not the actual Version !?

Posted: Sat 3. Jun 2006, 16:57
by Misiu
Hej,

I deleted all the files from the server and transfered the latest ver. 1.2.6 ... the graphics problem still remains ... plus I get some strange errors on top of the page:

"; write_textfile("setup.conf.inc.php", $conf_file); }function aporeplace($string_to_convert="") { //Ändert die einfachen Apostrophe für SQL-Funktionen in doppelte $string_to_convert = str_replace("\\", "\\\\", $string_to_convert); $string_to_convert = str_replace("'", "''", $string_to_convert ); return $string_to_convert;}function html_specialchars($h="") { //used to replace the htmlspecialchars original php function //not compatible with many internation chars like turkish, polish $h = preg_replace("/&(?!#[0-9]+;)/s", '&', $h ); $h = str_replace( "<", "<" , $h ); $h = str_replace( ">", ">" , $h ); $h = str_replace( '"', """, $h ); $h = str_replace( "'", "'", $h ); $h = str_replace( "\\", "\", $h ); return $h;}function readfile_chunked($filename,$retbytes=true) { $chunksize = 1*(1024*1024); // how many bytes per chunk $buffer = ''; $cnt =0; $handle = @fopen($filename, 'rb'); if ($handle === false) { return false; } while (!feof($handle)) { $buffer = @fread($handle, $chunksize); echo $buffer; flush(); if ($retbytes) { $cnt += strlen($buffer); } } $status = @fclose($handle); if ($retbytes && $status) { return $cnt; // return num. bytes delivered like readfile() does. } return $status;}?>
... and then when I clik on start install ... and move to the step where I should provide all the database info etc... I get a:

Fatal error: Call to undefined function: html_specialchars() in /var/www/00/16/25/hovedstadensbyggeservice.dk/www/setup/inc/step1.inc.php on line 54

The server info is:

system: Linux front02.web 2.6.12-9-686 #1 Tue Oct 4 18:57:15 BST 2005 i686
server: Apache
php: v4.4.0-3ubuntu2
path: /var/www/00/16/25/hovedstadensbyggeservice.dk/www/cgi-bin
php.ini: register_globals = Off -> that's good :)
safe_mode = On -> you have limited permissions, you can not use ImageMagick


Please help!!! Thanks!
M.

Posted: Sat 3. Jun 2006, 17:07
by DeXXus

Posted: Sat 3. Jun 2006, 17:07
by flip-flop
Hi Misiu,

please load up all files via binary-ftp.

Knut