Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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:)

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

Posted

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:)

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

Posted

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:)

  • 1 month later...
  • 2 weeks later...
Posted
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;)

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

Posted (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 by Coentje

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...