awarner20 Posted February 21, 2007 Posted February 21, 2007 I hope someone can help because this contrib is EXACTLY what I need, but I'm afraid the install directions are a bit confusing to me. I am running OSC 2.2 and have made some modifications. In the install text it states... Case new installation: /////// BEGIN NOT NEEDED FOR v5.1///////// In phpMyAdmin run the following SQL: INSERT INTO `configuration` VALUES ('', 'Orderlist Days', 'ORDERLIST_DAYS', '90', 'Last X days for Generate Order List', 3, NULL, '2006-01-05 15:09:26', '0000-00-00 00:00:00', NULL, NULL); /////// END NOT NEEDED FOR v5.1 ///////// Am I to understand that running this SQL query; or any SQL query is unneccessary since I'm installing v5.1a of Orderlist? Also, the install text states the path for placing and editing files as "includes/etc, etc...." I think the install means to say "admin/includes/etc...etc...". Can someone verify that this is correct? I tried both paths and Orderlist only shows in the Admin area when I install and edit everything by following the "admin/includes" path. So, I've installed using the admin path and have NOT run the SQL query, and when I click on "Generate Orderlist" under Admin-->Customers-->, a new page pops up with an error... Fatal error: Call to undefined function: now() in /home/content/a/w/a/myusername/html/admin/orderlist.php on line 21 Can someone please tell me what may be going wrong? Am I simply supposed to run the SQL query? Thanks for any assistance you can provide:) Quote We see our customers as invited guests to a party, and we are the hosts. It's our job every day to make every important aspect of the customer experience a little bit better. - Jeff Bezos
awarner20 Posted February 21, 2007 Author Posted February 21, 2007 Any advice with these directions? (I posted again just to make sure this is seen, it moved down th eline pretty fast). I hope someone can offer some advice. Thanks:) Quote We see our customers as invited guests to a party, and we are the hosts. It's our job every day to make every important aspect of the customer experience a little bit better. - Jeff Bezos
cmitchell Posted February 21, 2007 Posted February 21, 2007 I am having a similar problem with another contribute file. I was supposed to go to the admin page and install, but there is nothing to install. I felt the directions were complete, just not sure why i am not getting the install contribute from the OS Admin page. Any advise please? Carl Any advice with these directions? (I posted again just to make sure this is seen, it moved down th eline pretty fast). I hope someone can offer some advice. Thanks:) Quote
carabs Posted March 23, 2007 Posted March 23, 2007 I am getting the same error. Not sure whats a doin, and I/we would love some help :) Quote Jeff Conklin
awarner20 Posted April 2, 2007 Author Posted April 2, 2007 I am getting the same error. Not sure whats a doin, and I/we would love some help :) Hi carabs, It seems that this contribution just doesn't work for whatever reason. I will stay subscribed to this thread in case someone out there can offer a fix, but I'm losing hope;) Quote We see our customers as invited guests to a party, and we are the hosts. It's our job every day to make every important aspect of the customer experience a little bit better. - Jeff Bezos
Coentje Posted April 4, 2007 Posted April 4, 2007 (edited) Hi, i had to change the code in line 21 in the file /admin/orderlist.php in order to get the script working: // $today = now(); $today = date("Y-m-d h:i:s"); Coen Edited April 4, 2007 by Coentje Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.