Dangerous Prototypes

Dirty Services => DirtyPCBs support => Topic started by: ian on March 31, 2016, 06:56:49 am

Title: NEW SITE: Bug fix pack going up shortly
Post by: ian on March 31, 2016, 06:56:49 am
So I think I found the stupid problem with boards not being pushed. One of the developers added code to the database config to they wouldn't have to set the production/development environment in the proper place. They based it on the $_SERVER['SERVER_NAME'] == 'localhost' environmental variable. Problem is two fold. First, the dev site is a NGINX reverse proxy in front of a LAMP stack, so DEV is also called localhost and had wrong database settings. Second, all the cron jobs were failing with errors because $_SERVER is undefined when running PHP from the command line.

Fixed VDP cannot access closed PCB area.

Also fixed incorrect order total in order display and a number of other small things.

Will update server and test the push process. After we clear all existing orders I will put the site back online.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01192033880session_write_close ( )...(null):0
20.01242165456ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01242166232Database_MySQL->query( ).../DatabaseHandler.php:119
40.05572304952Database_MySQL->error( ).../Db-mysql.class.php:273