installation problem in XP

Trouble during PacsOne Server installations
Post Reply
Seabass
Posts:12
Joined:Mon Jul 30, 2007 2:34 pm
installation problem in XP

Post by Seabass » Thu Aug 02, 2007 1:05 pm

ok... so i'm trying to install it in Windows XP and I get a bunch of problems

First of all ... the ImageMagick and mysql/mysqli PHP extension are loaded successfully (i know this because i can access http://localhost/pacsone/Hello.php ) .... second the server is running because I can telnet into it....

What happens is that I tried to go to
http://localhost/pacsone/home.php ( the PDF manual on your website says that I have to here ) and my browser said "The requested URL was not found on this server" .... This does not surprise me actually as this file ( home.php ) does not exist in the PHP directory of pacsone....

Than I went "http://127.0.0.1/pacsone/pacsone.php" and after typing the database name , username and password I got a page filled with MySQL errros.

Code: Select all

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\PacsOne\php\pacsone.php on line 29

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\PacsOne\php\display.php on line 52

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\PacsOne\php\display.php on line 76

any help would be greatly appreciated.

Seabass
Posts:12
Joined:Mon Jul 30, 2007 2:34 pm

Post by Seabass » Thu Aug 02, 2007 1:22 pm

ok...so what i did was that i uninstalled basic and installed the premium version and now i have a home.php file but when i click on it I get some other error:

Code: Select all

Fatal error: Call to undefined function imagick_readimage() in C:\Program Files\PacsOne\php\login.php on line 61
any help ?

Seabass
Posts:12
Joined:Mon Jul 30, 2007 2:34 pm

Post by Seabass » Thu Aug 02, 2007 1:37 pm

and actually I think I now what happens:

you guys are using some old version of Image Magick and the new one switched to OOP and is not backward compatible..

Seabass
Posts:12
Joined:Mon Jul 30, 2007 2:34 pm

Post by Seabass » Thu Aug 02, 2007 2:51 pm

ok i managed to fix it so now i have it up and running

Seabass
Posts:12
Joined:Mon Jul 30, 2007 2:34 pm

Post by Seabass » Thu Aug 02, 2007 4:07 pm

Ok so here's how I installed it. I'm writing this message for other users who might have the same problems I had.

Code: Select all

Step 1:
Install XAMPP.

Step 2:
Install PACSONE in "C:/Program Files/PacsOne/php"

Step 3:
Search for "httpd.conf" and add the following lines somewhere.

Alias /pacsone "C:/Program Files/PacsOne/php"
<Directory "C:/Program Files/PacsOne/php">
	Options Indexes MultiViews
	AllowOverride None
	Order allow,deny
	Allow from all
</Directory>
Note: XAMPP comes with several "httpd.conf" files.  I do not know which one is the one that the actual servers uses. I modified all of them. 

Step 4:
Search for "php.ini" . Open it and search for a 
variable called "Extension Directory" and change its value to
"C:/Program Files/PacsOne/php". Once again, you might have several 
"php.ini" files. If you're PHP savy you might know which "php.ini" PHP actually uses. I modified every "php.ini" I could find on my disk.

Step 5:
Open "php.ini" . Search for the section that has "extension=" lines and comment out all of them. Add "extension=php5.2_imagick.dll" and "extension=php_mysqli.dll".

Step 6:
Search for "php_mysqli.dll" and get it from wherever you find it and place it in "C:\Program Files\PacsOne\Php\". 



dkirui
Posts:5
Joined:Mon Apr 28, 2008 11:16 am

imagick error

Post by dkirui » Mon Apr 28, 2008 11:23 am

When I Log in to Pacsone I get a Fatal error below

Fatal error: Call to undefined function imagick_readimage() in C:\Program Files\PacsOne\php\login.php on line 61

I have checked the configuration of imagick according to the installation guide and its ok any help please am in a fix.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Mon Apr 28, 2008 7:22 pm

Check if you see the ImageMagick PHP extension loaded from the output of the test page:

http://localhost/pacsone/Hello.php

If not, then you need to make sure you've copied the correct DLL into the folder configured as the extension_dir variable in your PHP.INI file.

dkirui
Posts:5
Joined:Mon Apr 28, 2008 11:16 am

Post by dkirui » Tue Apr 29, 2008 10:04 am

ok it worked I just restarted the PC because the configuration that i did was ok. Thanxs

dkirui
Posts:5
Joined:Mon Apr 28, 2008 11:16 am

Post by dkirui » Wed Apr 30, 2008 8:31 am

we have a copy of premium version of Pacsone and this is what i used to install the system to our server but it displays that the system will expire the first week of June Please help......URGENTLY

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed Apr 30, 2008 4:29 pm

You can send your current license (license.dat) under the directory where PacsOne is installed to mailto:pacsone@pacsone.net, and we'll check it out.

Post Reply