Jump to content

Recommended Posts

I've got plenty of experience installing/modifying ASP scripts on my windows server...

 

But this is my first try at installing PHP script on my Linux hosting....I need a little help....

 

Trying to install this script

http://www.inventory-management.org/

 

1) Have it uploaded to a folder on my server

 

2) Have created the required mysql database and set it up with the included db text file from phpmyadmin.

 

3)  (Gathered what I believe are the server/login name/password/db name from my server host Go Daddy) and changed my database connection info in site.xml.

 

4)  I should be able to execute index.php at this point but I get this...

 

Warning: Call-time pass-by-reference has been deprecated in /home/content/p/c/m/pcmedic123/html/inventory/lib/site.php on line 187

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/p/c/m/pcmedic123/html/inventory/lib/site.php:187) in /home/content/p/c/m/pcmedic123/html/inventory/lib/site.php on line 57

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/p/c/m/pcmedic123/html/inventory/lib/site.php:187) in /home/content/p/c/m/pcmedic123/html/inventory/lib/site.php on line 57

 

Warning: Call-time pass-by-reference has been deprecated in /home/content/p/c/m/pcmedic123/html/inventory/lib/common.php on line 719

 

Fatal error: Cannot redeclare fputcsv() in /home/content/p/c/m/pcmedic123/html/inventory/lib/common.php on line 935

 

Are these errors generated because there is no connection to the database?

 

Or how would I go about solving this?

 

anybody got a clue?  I'm stumped at the moment...

 

Thanks in advance

 

 

Link to comment
https://forums.phpfreaks.com/topic/143961-help-setting-up-php-inventory-script/
Share on other sites

It would seem that the script in question is just poorly coded / written for old depricated settings.

 

Without seeing the relevent code we couldn't really help much and its likely to be a big (ish) task anyway. How much php do you know?

 

Thx bud.....I know 0% PHP but can install scripts for the most part....just need something that works...I'll move on and try out some other script...

 

(any suggestions...small business inventory????)

 

 

Thanks to all the Phpfreaks

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.