No statuses. This is the debug message on that page:
Debug Message
[1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='8f2e89be0935e79bc38bc134554e9927' LIMIT 1
UPDATE perch2_users SET userHash='e68db2b6f8fa32400f6250ca575609e2' WHERE userID='1'
[77] SELECT p.privKey FROM perch2_user_privileges p
[34] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
[nil] SELECT SQL_CALC_FOUND_ROWS DISTINCT * FROM perch2_shop_order_statuses WHERE 1=1 AND statusDeleted IS NULL ORDER BY statusIndex ASC LIMIT 0, 24
[0] SELECT FOUND_ROWS() AS `count`
[nil] SELECT SQL_CALC_FOUND_ROWS DISTINCT * FROM perch2_shop_order_statuses WHERE 1=1 AND statusDeleted IS NULL ORDER BY statusIndex ASC LIMIT 0, 24
[0] SELECT FOUND_ROWS() AS `count`
Queries: 9
Memory: 3.6582
Array
(
[type] => 8
[message] => Use of undefined constant PERCH_SHOP_VERSION - assumed 'PERCH_SHOP_VERSION'
[file] => /var/www/vhosts/lockstock.biz/httpdocs/perch/addons/apps/perch_shop_products/admin.php
[line] => 3
)
Should I add some statuses manually? If so, what should they be?
Ok, so it sounds like part of the install failed - possibly due to similar issues. Can you try the insert below? I'm expecting an error, but if you let me know what it is we can fix.
Thank you! With some minor tweaks (0000-00-00 00:00:00 was invalid for the statusCreated column) that did the trick.
Everything seems to be working now.
It definitely seemed something was up with the install process. That being said I attempted install on a few separate occasions and didn't receive any errors.
No statuses. This is the debug message on that page:
Should I add some statuses manually? If so, what should they be?
Ok, so it sounds like part of the install failed - possibly due to similar issues. Can you try the insert below? I'm expecting an error, but if you let me know what it is we can fix.
Hi Drew,
Thank you! With some minor tweaks (0000-00-00 00:00:00 was invalid for the statusCreated column) that did the trick.
Everything seems to be working now.
It definitely seemed something was up with the install process. That being said I attempted install on a few separate occasions and didn't receive any errors.
Anyway, thanks for all your help!
I think your database is in some made super-strict mode where it's enforcing a bunch of special snowflake rules. We'll try and code around them!
Well if it helps with anything I was using the latest version of Homestead (https://laravel.com/docs/5.3/homestead) with Vagrant.
Testing with Homestead, I can't reproduce the behaviour you're seeing. What options do you have set in your
Homestead.yaml
file?Sorry I missed this. Apart from my folders and sites everything is "out of the box":
I use the same Homestead VM for several dev sites at the moment.
So you're not using the MariaDB option?
No, I am not.