1579 comments found.
I have updated from v3.3.0.2 to v3.4 After the update (successful based on what is written on screen), it’s redirected to xxxxx/auth/login but the page is blank.
error_log file: PHP Fatal error: session_start(): Failed to initialize storage module: user (path: sessions) in /home4/rubcnowc/public_html/bc/lib/libraries/Session/Session.php on line 141
Can you please check if the sim_sessions table exists in your database?
Yes. The table does exist.What should I do?
Yes. Table sim_sessions DOES EXIST. What should I check next?
You can try to create the table with this query
CREATE TABLE IF NOT EXISTS `sim_sessions` ( `id` varchar(40) NOT NULL, `ip_address` varchar(45) NOT NULL, `timestamp` int(10) UNSIGNED NOT NULL DEFAULT '0', `data` blob NOT NULL, PRIMARY KEY (`id`), KEY `ci_sessions_timestamp` (`timestamp`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
The table DO EXISTS, bro..
Oh sorry, you can try to change the sess_driver to file and set the path to blank string in config. Let me know if it works.
Unfortunately, it is still the same.
What’s the error now?
No error_log now. But the main page does not display anything. When I view page source, there is nothing there. Not even a letter.
Please try to set the ENVIRONMENT to development in index,php and check the error.
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$theme
Filename: core/MY_Controller.php
Line Number: 20
Backtrace:
File: /home4/rubcnowc/public_html/bc/app/core/MY_Controller.php Line: 20 Function: _error_handler
File: /home4/rubcnowc/public_html/bc/app/controllers/Auth.php Line: 7 Function: __construct
File: /home4/rubcnowc/public_html/bc/index.php Line: 269 Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$theme
Filename: core/MY_Controller.php
Line Number: 21
Backtrace:
File: /home4/rubcnowc/public_html/bc/app/core/MY_Controller.php Line: 21 Function: _error_handler
File: /home4/rubcnowc/public_html/bc/app/controllers/Auth.php Line: 7 Function: __construct
File: /home4/rubcnowc/public_html/bc/index.php Line: 269 Function: require_once
ALTER TABLE `sim_settings` ADD `theme` VARCHAR(20) NOT NULL DEFAULT 'default'; UPDATE `sim_settings` SET `version` = '3.4' WHERE `setting_id` = 1;
I believe you mean `sim_settings`, right?
yes
I have corrected the quires.
Okay Bro, all is good. Haha. Thanks a lot, man.
Please set the ENVIRONMENT back to production 
Doesn’t update here, Stuck at version 3.10 what do I need to do to get the updates ?
At the moment I am still using 3.10 but will move to another webhost and there I want to install 3.4 how can I import the working 3.10 database on the new host with version 3.4, I see that there is now using a db prefix sim_
There are few db changes so importing old data won’t be option in fresh instillation unless you change the inv_total to total and total to grand_total in your old database. Yes the dbprefix ‘sim_’ has been added to 3.4 Thank you
Thank you but your solution is not working, Is there coming soon a migrating tool so all of your “paid” clients can profit from the benefits of this new version?
The update tool works fine, I have updated the demo. I am not sure what caused the error in your update. If you can share the error, I will check. Thank you
The auto update isn’t released for this. Please download the latest files and then check the documentation for update instructions. Thank you
Thank you, I followed the help instruction.
Made a copy of database.php and saved it locally after that I filled in all the necessary information as written in the /help path
After receiving ” Update completed!” while running /update/index.php I get ERROR 500
I guess there is really something not proper in your update installation. Come with a fix or a workaround please
Please check the error log for 500 and let us know the error.
Error 500 is gone, run or ruined correctly the /update installer once again. I could login written after that 3.3.10 version ?
Please tell me where this goes wrong or to where I can mail to share some details.
You can email to support@tecdiary.com Thank you
I sent it already, it looked fixed but found another major bug with not calculating the taxes well after you updated it from 3.1 to 3.4 (information is already sent by mail) Hope for a fast fix as the program is now useless at the moment
I have the same issue, after installation it’s showing blank page, please advice
Please try to replace the define('ENVIRONMENT', 'production'); with define('ENVIRONMENT', 'development'); in index.php and visit page again to check the error.
I have found that the installer is not adding the correct db prefix to config. Please try to edit the app/config/database.php and add replace 'dbprefix' => '', with 'dbprefix' => 'sim_', I hope this will fix the issue. Thank you
Hi Tecdiary, i have made the changes you have suggested, but have some issue on the loading invoices, or products, also the invoice view has no css, where i can send you some pic. or login to have a look, thanks.
Please email to support@tecdiary.com Thank you
HI,
I just purchased this script, and after installing, its showing blank page..
here is the PHP error log [06-Oct-2016 14:31:25 Asia/Kolkata] PHP Fatal error: Call to a member function num_rows() on boolean in D:\wamp64\www\invoice\app\models\Site.php on line 11
[06-Oct-2016 14:31:25 Asia/Kolkata] PHP Stack trace:
[06-Oct-2016 14:31:25 Asia/Kolkata] PHP 1. {main}() D:\wamp64\www\invoice\index.php:0
[06-Oct-2016 14:31:25 Asia/Kolkata] PHP 2. require_once() D:\wamp64\www\invoice\index.php:269
[06-Oct-2016 14:31:25 Asia/Kolkata] PHP 3. Auth->__construct() D:\wamp64\www\invoice\lib\core\CodeIgniter.php:500
[06-Oct-2016 14:31:25 Asia/Kolkata] PHP 4. MY_Controller->__construct() D:\wamp64\www\invoice\app\controllers\Auth.php:7
[06-Oct-2016 14:31:25 Asia/Kolkata] PHP 5. Site->get_setting() D:\wamp64\www\invoice\app\core\MY_Controller.php:10
Hello, Please try to edit the app/config/database.php and add replace 'dbprefix' => '', with 'dbprefix' => 'sim_', I hope this will fix the issue. Thank you
Thanks for help, but i landed up in another similar issues with reports.
Please see below. [07-Oct-2016 11:02:52 Asia/Kolkata] PHP Fatal error: Call to a member function num_rows() on boolean in D:\wamp64\www\invoice\app\models\Reports_model.php on line 77
[07-Oct-2016 11:02:52 Asia/Kolkata] PHP Stack trace:
[07-Oct-2016 11:02:52 Asia/Kolkata] PHP 1. {main}() D:\wamp64\www\invoice\index.php:0
[07-Oct-2016 11:02:52 Asia/Kolkata] PHP 2. require_once() D:\wamp64\www\invoice\index.php:269
[07-Oct-2016 11:02:52 Asia/Kolkata] PHP 3. call_user_func_array:{D:\wamp64\www\invoice\lib\core\CodeIgniter.php:514}() D:\wamp64\www\invoice\lib\core\CodeIgniter.php:514
[07-Oct-2016 11:02:52 Asia/Kolkata] PHP 4. Reports->monthly_sales() D:\wamp64\www\invoice\lib\core\CodeIgniter.php:514
[07-Oct-2016 11:02:52 Asia/Kolkata] PHP 5. Reports_model->getMonthlySales() D:\wamp64\www\invoice\app\controllers\Reports.php:127
Can you check your db if the tables are created. You can download the files to install again. Thank you
Hi,
Your reports_model file is has query pointing to table ‘sales’ .. where as our table name starts with sim_
see here.
public function getDailySales($year, $month) {
$this->db->select(“date AS date, SUM ) AS inv_total, SUM ) as tax, sum( COALESCE ) as total, SUM ) as paid”, false)
->from(‘sales’)
>where(‘status !=’, ‘canceled’)>where(“DATE_FORMAT( date, ‘%Y-%m’ ) = ‘{$year}-{$month}’”, null, false)
>group_by(‘DATE_FORMAT( date, \’%Y%m-%d\’ )’);
$q = $this->db->get();
if ($q->num_rows() > 0) {
foreach (($q->result()) as $row) {
$data[] = $row;
}
return $data;
}
return false;
}
public function getMonthlySales($year) {
$this->db->select('date, SUM( COALESCE( total, 0 ) ) AS inv_total, SUM( COALESCE( grand_total, 0 ) ) AS total, SUM( COALESCE( total_tax, 0 ) ) as tax, SUM( COALESCE( paid, 0 ) ) as paid', false)
->from('sales')
>where('status !=', 'canceled')>where("DATE_FORMAT( date, '%Y' ) = '{$year}'", null, false)
>group_by('DATE_FORMAT( date, \'%Y%m\' )')
->order_by('date_format( date, \'%c\' ) ASC');
$q = $this->db->get();
That’s fine as the prefix will be automatically added.
Hi saleem, hope you doing well. how come in my site when I click on system update it always says system is up-to-date even though I’m still on 3.3.11 !!! also you know I don’t want to loose my hard work on creating expenses and other settings and modifications, how I can implant the new features your added to 3.4 like notes? it would be nicer to have the internal note next to every invoice so we can quickly identify that invoice details? Thanks
This is manual update as there are few db changes that can’t be easily managed with migration. I hope, you have added the expenses controller, model and view separately, then you need to backup them with header file for links and perform update. Once updated you can replace back your expenses related files and edit the new header to add the links. You can copy from older header and paste it to new one. If you don’t have separate files for the expenses, you will need to make them as every update will replace the old files and if you have different then only you can save them. Thank you
views was done separately, model is using the sales_model and the controller also using the sales.php controller !! any hint of your implementations for the note to include it in the sales for each sale? that’s what interest me in your new version even though your new version use the note in settings but I plan to make it in different way by making it an internal note for each sale in the sale model and controller. if you happy we could communicate by email, just pm me here for your details. Thanks
You will need to move those methods to separate controller and model, then will won’t be replaced. If you want to just add the note suggestions, you can check the settings controllers and then the js code in themes/default/asserts/js/custom.js Thank you
I have some products which comes under few categories. I want to add the products under category and each product does have model number, Serial number and brand name…etc. How can I add them?
I am sorry as there is no such option/feature. Thank you
hi, a question presales. This script is multi-company? you can create a unlimited new company and each have their own management panel and invoice administration same as I admin? how can you do this?
No, you can add multiple companies and then create quotes/invoices but the companies won’t have any panel or management and all users are system level not company level. Thank you
Hi,
I am getting error while deleting customer and user. It says “Access denied! You are not allowed to view the page. If you think, this is a mistake, please contact administrator.”
Only admin have the permissions to delete. Please check if you are logged in as admin. Thank you
Where can I find the file that holds the email template that gets sent to a user. I’d like to add a couple comments to the email other than just “Please find the attached invoice”. Thanks in advance
NM… duh..
Hi, first I congratulate the base CRM is good, second I made a hosting transfer so I had to move all the file including the base, I moved all the files including the MySQL database in the subdomain q should be, but is not making, could help please that I should keep in mind to make this move, thank you.
Hello, you need to update the db settings in app/config/database.php and if the url is changed then please update the base_url in app/config/config.php Thank you
Hi, how do I edit the title of the pdf invoice that is being sent to the client? Right now, it says: Invoice No.1 or 2 or 3, etc. I would like to change it to say customer ID_Reference No._Date for example? For the customer to know the number of invoice is a bit awkward I should say. Pleaset le tme know for a workwround. Thank you.
You can m modify the email method of app/controllers/sales.php and email_invoice method of app/controllers/cron.php and update the subjects as you need. Thank you
Sorry, unfortunately, it was not the simple to tackle on. Can you please specify more details how to actually do it? I could seem to find email method in app/controllers/sales.php and there about 9 email_invoice in app/controllers/cron.php so not very sure how and where to? Thanks.
You need to check the email_invoice method around line no 103 and look for $subject variable to change the subject. The other (you mentioning) are calls to this method. The line number could be different but you can search for function email_invoice Thank you
could you please add the shortcut keys for the add sale and edit sale page for faster working
I am sorry as there is no shortcuts at this moment. We will check about this. Thank you
Hi, when I go to https://mysite.com/uploadpath/update/index.php, I get the “Update Tool is Locked” with a message at the bottom: Please contact your developer/support. Can you please let me know how can get pass this issue? Thanks.
Please disregard this after all. TY
Hi Tecdiary, we’ve sent you email, called your number in PJ, but no one answers. We have some modification request that needed to be addressed before the purchase. We can pay for the modification works as per your quote.
Please reply soon. Thanks!
I am sorry as I am out of country so can’t answer the calls while roaming. Your emails will be replied but the email response is very slow. Thank you
Hi Saleem, will make a call to you on Monday regarding our requests. Thanks for the reply!
Error while validating your purchase code! ?
Due to the previous error i deleted the folder and installed fresh ?
it was all working fine and then this happened ?
PHP Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home2/djhimmu/public_html/weddingdj.in/bill/lib/libraries/Session/Session.php on line 140
line 140 says this : session_start();
this is what showing in the error log and im not getting the log in page ? and nothing ?
Hi Author,
Direct bank in not included as a payment method?
No, you will need to modify the view files to add any new option. Thank you
I have yet another question – sorry – when an invoice is created and emailed out the logo, PayPal and the pending banner do not show in the pdf – Is there a way to get them to show in the PDF and have the paypal link active ?
skip that – it’s working – just takes forever. I’ll bump up my RAM see if goes a little quicker… over 5 minutes to produce a PDF doc.
Hello, Please checked if the images are upload and exists. You can enable the debug by modifying the line no 130 of app/third_party/mpdf/config.php Yes, mpdf require high resources (cpu and ram) to generate the files. Thank you
Dear Mr. author very complicated to install, can you please send me tutorial video? i am working on offline wamp server. please update me
Hello, I am sorry as we don’t have video tutorials. Can you please let us know on which step you are having difficulty. If the file are copied and the installer is access from browser, it will be straight forward then. Thank you
I also have another issue – when I send an email using smtp it crashes the invoice software. I have to restart httpd service. I’m using CentOS 7×64 in an ESXi environment. Any help appreciated!
You can try php mail function or sendmail. OR you can try to check it with simple email. Thankyou
hmmm I tried php it does the same thing – I’ve looked through logs and can’t seem to find anything.. oh well I’ll figure it out.
You can try to print the email debug report by comment the line 188 & 191 in app/libraries/sim.php