pacart Posted July 22, 2010 Share Posted July 22, 2010 Been trying to install Service-Management software on my Ubuntu server. There is a problem with the coding that I downloaded.When attempting to view my index page in fire fox the following message appears. Fatal error: Cannot redeclare fputcsv() in /var/www/vhosts/lms/lachlanmachineryservice/httpdocs/service-management/lib/common.php on line 927 Attached is a copy of the file. It would be greatly appreciated if someone could nut this out. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
Alex Posted July 22, 2010 Share Posted July 22, 2010 fputcsv is a built in PHP function, you can't declare a function of that name. Quote Link to comment Share on other sites More sharing options...
pacart Posted July 22, 2010 Author Share Posted July 22, 2010 Thanks, I over come that issue. Now I have another file with an error I can't work out. Fatal error: Cannot redeclare CSQLAdmin::$functions in /var/www/vhosts/lms/lachlanmachineryservice/httpdocs/service-management/lib/sqladmin.php on line 33 [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
Alex Posted July 22, 2010 Share Posted July 22, 2010 You're defining var $functions twice. First on line 23, and again on line 33. Quote Link to comment Share on other sites More sharing options...
pacart Posted July 22, 2010 Author Share Posted July 22, 2010 Thanks Alex, Removed one and fixed errors. Now I just have a blank screen. Looks like the author of this script failed to test before making public. http://linux.softpedia.com/get/Information-Management/Service-Management-Software-7021.shtml Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.