Strange graphics problems in backend

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Misiu
Posts: 15
Joined: Sat 11. Jun 2005, 16:35
Location: Copenhagen
Contact:

Strange graphics problems in backend

Post 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
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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 !?
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Misiu
Posts: 15
Joined: Sat 11. Jun 2005, 16:35
Location: Copenhagen
Contact:

Post 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.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi Misiu,

please load up all files via binary-ftp.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply