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.
Sorry, should have mentioned how to get it as a ZIP file :) Thanks 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 shiny :) well 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.
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:
[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..
[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:
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.
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.