Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

4. Make sure that you have a directory called catalog/temp, and that it's permissions are set to allow writes to that directory (while you're in the catalog directory, execute "chmod 777 temp").

 

If you have changed the directory structure of your OSC install (i.e. you don't have /catalog/temp/ in your document root anymore), then you'll need to go into easypopulate.php and change the setting of "$tempdir".

 

5. PLEASE DO THIS!!!!!: It's a good idea to go to easypopulate.php and read the section marked "Configuration Variables". It will allow you to adjust EP's operation for your store. I meant what I said, Please, Pretty please, do read the entire configuration stuff. Really. You'll be glad you did. You'll find all kinds of neat configurable stuff there.

 

 

I need to hear from especially those people that have 2.79 and above installed. The reason I need to know is that I do not have catalog in my root anymore. Don't I need to change $tempdir=catalog/temp; in these versions here?

 

I really, really need help.

Posted
I don't use 2.79 but if you don't have a catalog directory, then you should not tell the code to look in the catalog directory so, yes, remove that.

 

Jack

 

 

So, if I do not have catalog directory, and the easypopulate.php does not have $tempdir, I should just ignore that part of the instruction from the readmefirst.txt?

 

Thanks for helping.

  • 4 weeks later...
Posted
So, if I do not have catalog directory, and the easypopulate.php does not have $tempdir, I should just ignore that part of the instruction from the readmefirst.txt?

 

Thanks for helping.

 

 

Maybe this helps someone else. I downloaded EP 2.90 and the readme.txt included is a bit misguided in the instructions. Took me about an hour but I figured out that the instructions refer to a "configuration area" and that the admin/easypopulate.php should have:

 

$tempdir="/catalog/temp/", which mine did not and does not have the configuration files in an "organized" format.

 

So for those of you getting "WARNING: ... file or directory does not exist" error on uploading your .txt files, ADD the $tempdir= command to your admin/easypopulate.php file manually.

 

 

--------------------------------------------------------------------

<?php

 

// Current EP Version

$curver = '2.90';

 

$tempdir = "/temp/"; <------- added manually

 

/*

$Id: easypopulate.php,v 2.90 2006/04/14 Davide Duca @ www.eurobigstore.com

 

*/

 

require('includes/application_top.php');

 

_-------------------------------------------------------------------------

 

If you do not have SPPC (Special Price per customer) installed, you will most likely get errors about certain fields like p.products_price1_qty not uploading.

 

I chose to remove those lines that reference "price1", "price2", etc. It's not easy to comment them out due to the area of programming they are located in.

 

Good Luck, remember to always backup before trying a new mod.

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...