
Ben_Alton (28th April 2011)


cromertech (3rd November 2010), CyberNerd (19th September 2010), dgsmith (18th September 2010), gumbygaz (30th September 2010), IKWeb (18th September 2010), jamiess (19th September 2010), RabbieBurns (3rd November 2010), round2it (10th January 2011), rush_tech (26th August 2011), stariq (20th September 2010), zag (21st October 2010)
Stupid question how can i download this in one go? it lists the files one by one, which will take a while to grab. and the file path http://github.com/craigrodway/printmaster.git comes back with an error says file cant be found.
![]()

webman (18th September 2010)

Sorry, should have mentioned how to get it as a ZIP fileThanks localzuk.
Interesting project webman - very neat looking too. Will be giving this a whirl on Monday. I noticed at the bottom a "todo" of adding SNMP for printers - definately would be worthwhile. If this can also be used to track not only what consumables are available, but what are needed it's definately something that'll be worthwhile. Good work.

Looks nice and shinywell done mate
Will point Pete to it next week if its quieter than the last 2 as it may help his stock control
![]()
What's the best way of importing the sql file without phpmyadmin? I have the mysql query and administrator installed though. Is there a command line? Google searching hasn't turned up anything useful..
Do you have an SQL dump? If so the command line is:
mysql -u username -p password database_name < filename.sql
So in this case filename.sql will be printmaster.sql.
(Should work!)
Thanks - couldn't that to work either! Ended up figuring out that in mysql admin you can "restore" an SQL dump file as long as you ignore errors! Still, now getting this problem when browsing to index.php:
Then a bit further down..Code:Context ------- $_SERVER: Array ( [CommonProgramW6432] => C:\Program Files\Common Files [PHP_FCGI_MAX_REQUESTS] => 10000 [PHPRC] => C:\Program Files (x86)\PHP\ [ALLUSERSPROFILE] => C:\ProgramData [APPDATA] => C:\Windows\system32\config\systemprofile\AppData\Roaming [APP_POOL_ID] => DefaultAppPool [CommonProgramFiles] => C:\Program Files (x86)\Common Files [CommonProgramFiles(x86)] => C:\Program Files (x86)\Common Files ...and lots more like this, until.. ) $_POST: Array ( ) $_GET: Array ( ) $_FILES: Array ( ) $_SESSION: {null} $_COOKIE: Array ( [users_resolution] => 1440x900 [fontSize] => 100 [ja_purity_tpl] => ja_purity )
Changes the db in init.php too. Is this php configuration that it isn't happy with?Code:Uncaught fValidationException ----------------------------- {doc_root}\consumables\index.php(22): include_once('C:\inetpub\wwwr...') {doc_root}\consumables\inc\init.php(15): fSession::setPath('C:\inetpub\wwwr...') {doc_root}\consumables\inc\flourish\fSession.php(450): fDirectory->__construct('C:\inetpub\wwwr...') {doc_root}\consumables\inc\flourish\fDirectory.php(133) The directory specified, C:\inetpub\wwwroot\consumables/session, does not exist or is not readable

Create a directory called session (in your case, within c:\inetpub\wwwroot\consumables) and make it writeable.
Apologies - forgot to add that to the instructions.
Last edited by webman; 20th September 2010 at 03:21 PM.
Ah yes, jolly good, that sorted it. May I suggest you include some common manufacturers with the installation (like HP, Brother, Oki, Samsung etc)?

Not a bad idea, will look at that.
There are currently 1 users browsing this thread. (0 members and 1 guests)