Jump to content

Iniquityclothing

Members
  • Content count

    261
  • Joined

  • Last visited

Posts posted by Iniquityclothing


  1. Hifolks just done a clean install of OsC v2.2 rc1 and tried to re upload 'Easy Populate' but it doesn't seem to wana appear in m admin panel, I have uploaded all the correct files to the right directory but nothing? any ideas? Thanks, Here is a couple of screen prints of 'A' my admin panel and 'B' my server showing the uploaded files.

    Thanks

    http://www.iniquityclothing.com/www/EP.JPG

    http://www.iniquityclothing.com/www/EP2.JPG


  2. Hi hope this gives a clue,

    //*******************************

    //*******************************

    // UPLOAD AND INSERT FILE

    //*******************************

    //*******************************

    if (!empty($_POST['localfile']) or (isset($_FILES['usrfl']) && isset($_GET['split']) && $_GET['split']==0)) {

     

    if (isset($_FILES['usrfl'])){

    // move the file to where we can work with it

    $file = tep_get_uploaded_file('usrfl');

    if (is_uploaded_file($file['tmp_name'])) {

    tep_copy_uploaded_file($file, EP_TEMP_DIRECTORY);

    }

     

    echo "<p class=smallText>";

    echo "File uploaded. <br>";

    echo "Temporary filename: " . $file['tmp_name'] . "<br>";

    echo "User filename: " . $file['name'] . "<br>";

    echo "Size: " . $file['size'] . "<br>";

     

    // get the entire file into an array

    $readed = file(EP_TEMP_DIRECTORY . $file['name']);

    }

    if (!empty($_POST['localfile'])){

    // move the file to where we can work with it

    //$file = tep_get_uploaded_file('usrfl');

     

    //$attribute_options_query = "select distinct products_options_id from " . TABLE_PRODUCTS_OPTIONS . " order by products_options_id";

    //$attribute_options_values = tep_db_query($attribute_options_query);

    //$attribute_options_count = 1;

    //while ($attribute_options = tep_db_fetch_array($attribute_options_values)){

     

    //if (is_uploaded_file($file['tmp_name'])) {

    // tep_copy_uploaded_file($file, EP_TEMP_DIRECTORY);

    //}

     

    echo "<p class=smallText>";

    echo "Filename: " . $_POST['localfile'] . "<br>";

     

    // get the entire file into an array

    $readed = file(EP_TEMP_DIRECTORY . $_POST['localfile']);

    }

     

    if (EP_EXCEL_SAFE_OUTPUT == true) {

    // do excel safe input

    unset($readed); // kill array setup with above code

    $readed = array(); // start a new one for excel_safe_output

    $fp = fopen(EP_TEMP_DIRECTORY . (isset($_FILES['usrfl'])?$file['name']:$_POST['localfile']),'r') or die('##Can not open file for reading. Script will terminate.<br />'); // open file

    $header_line = fgets($fp);

    if (strpos($header_line,',') !== false) { $ep_separator = ','; }

    if (strpos($header_line,';') !== false) { $ep_separator = ';'; }

    if (strpos($header_line,"\t") !== false) { $ep_separator = "\t"; }

    if (strpos($header_line,'~') !== false) { $ep_separator = '~'; }

    if (strpos($header_line,'-') !== false) { $ep_separator = '-'; }

    if (strpos($header_line,'*') !== false) { $ep_separator = '*'; }

    rewind($fp);

    while($line = fgetcsv($fp,32768,$ep_separator)) // read new line (max 32K bytes)

    {

    unset($line[(sizeof($line)-1)]); // remove EOREOR at the end of the array

    $readed[] = $line; // add to array we will process later

    }

    $theheaders_array = $readed[0]; // pull out header line

    fclose($fp); // close file

    } else {

    // do normal EP input

    // now we string the entire thing together in case there were carriage returns in the data

    $newreaded = "";

    foreach ($readed as $read){

    $newreaded .= $read;

    }

     

    // now newreaded has the entire file together without the carriage returns.

    // if for some reason excel put qoutes around our EOREOR, remove them then split into rows

    $newreaded = str_replace('"EOREOR"', 'EOREOR', $newreaded);

    $readed = explode( $ep_separator . 'EOREOR',$newreaded);

     

    // Now we'll populate the filelayout based on the header row.

    $theheaders_array = explode( $ep_separator, $readed[0] ); // explode the first row, it will be our filelayout

    }

     

    $lll = 0;

    $filelayout = array();

    foreach( $theheaders_array as $header ){

    $cleanheader = str_replace( '"', '', $header);

    // echo "Fileheader was $header<br><br><br>";

    $filelayout[ $cleanheader ] = $lll++; //

    }

    unset($readed[0]); // we don't want to process the headers with the data

     

    // now we've got the array broken into parts by the expicit end-of-row marker.

    foreach ($readed as $tkey => $readed_row) {

    process_row($readed_row, $filelayout, $filelayout_count, $default_these, $ep_separator, $languages);

    }

    // isn't working in PHP 5

    // array_walk($readed, $filelayout, $filelayout_count, $default_these, 'process_row');

     

    This is a portion of the Easypopulate.php Which (i think) defines whatis inserted into the DB. Thanks


  3. Hi folks, I have posted this question in the "Easy Populate 2.76f-MS2 r1" topic about two mnths ago but to no avail.

    For some reason Easy Populate 2.76f-MS2 r1 will not import the attributes from the .txt file that I specified when I edited it in MS Excel. Everything else imports fine, 'Name', 'Price', 'date' etc but not the attributes.

    Any ideas. I have searched high and low for a solution. I have re-installed Easy Populate 2.76f-MS2 r1 to see if a latter amendment to the .php files may have changed something but I still cannot make it work.

     

    Thanks for reading hope someone can help,

    Best Regards, phil


  4. Hi folks,

    I have ran into another issue with EP&Attributes 2.76f-MS2 r1. Whenever I make a new listing in my .csv and add attributes they do not appear in my catalog online. Everything else sticks fine, i.e Price,Name,Description etc but not the attributes. In my case its sizes and colors. We sell clothing so being able to put a few 0's into a .csv instead of the admin panel way saves hours, considering our catalog has in excess of 500 items,

    Any help would be greatly appreciated. Phil


  5. Hi Folks,

    im running EasyPopulate 2.76f-MS2 r1 and having a few issues, My attributes that i set offline within the spread sheet do not take effect when I upload to my D/B, Everything else works like a charm, price, quantity, description etc. But my attributes will not take effect. that means i have to set them all via the admin panel which takes forever! I have like 350 t-shirts all with 3 attributes connected!

     

    I have looked every where for the answer to this but cannot find it, Please help,

    Phil @ Iniquity Clothing. :thumbsup:


  6. Hi jack thanks for the tip, I'll double check the settings but I suspect that the problem is something more sinister...

     

    Just Checked an "Enable attributes: true" is on so it isn't that, Thanks anyway.


  7. Hi Folks,

    im running EasyPopulate 2.76f-MS2 r1 and having a few issues, My attributes that i set offline within the spread sheet do not take effect when I upload to my D/B, Everything else works like a charm, price, quantity, description etc. But my attributes will not take effect. that means i have to set them all via the admin panel which takes forever! I have like 350 t-shirts all with 3 attributes connected!

     

    I have looked every where for the answer to this but cannot find it, Please help,

    Phil @ Iniquity Clothing.


  8. hi folks i could have a possible problem with Paypal IPN v1.0, i have installed this contribution no probs but i have now had two customers "attempt" to buy items and they either havent bothered to pay OR im experiancing problems with Paypal IPN.

    everything is set up like it should be (i think) my payment email address is correct etc the admin panel even logs the order as "pending" put no money arrives in paypal???

    what should i be looking for to correct this problem,

    if any 1 has any info please help.

    Thanks,

    Phil


  9. Hi there out of nowere I am getting this error can any1 help me explain?

     

    Warning: move_uploaded_file(/data/members/paid/i/n/iniquityclothing.com/htdocs/www//www/temp/EP2007Jan17-1604.txt): failed to open stream: No such file or directory in /data/members/paid/i/n/iniquityclothing.com/htdocs/www/admin/easypopulate_functions.php on line 32

     

    Warning: move_uploaded_file(): Unable to move '/tmp/phpIyVfbZ' to '/data/members/paid/i/n/iniquityclothing.com/htdocs/www//www/temp/EP2007Jan17-1604.txt' in /data/members/paid/i/n/iniquityclothing.com/htdocs/www/admin/easypopulate_functions.php on line 32

     

     

    File uploaded.

    Temporary filename: /tmp/phpIyVfbZ

    User filename: EP2007Jan17-1604.txt

    Size: 267788

     

    Warning: file(): Unable to access /data/members/paid/i/n/iniquityclothing.com/htdocs/www//www/temp/EP2007Jan17-1604.txt in /data/members/paid/i/n/iniquityclothing.com/htdocs/www/admin/easypopulate.php on line 667

     

    Warning: file(/data/members/paid/i/n/iniquityclothing.com/htdocs/www//www/temp/EP2007Jan17-1604.txt): failed to open stream: No such file or directory in /data/members/paid/i/n/iniquityclothing.com/htdocs/www/admin/easypopulate.php on line 667

     

    Warning: Invalid argument supplied for foreach() in /data/members/paid/i/n/iniquityclothing.com/htdocs/www/admin/easypopulate.php on line 690

     

    If any 1 knows how to fix this please advise?

    Thanks


  10. Hi there I cannot seem to find a solution for this problem. I am using EP and product attributes version 2.76(d) - MS2 and used it successfully for months, i have added a new catagorie "shoes" onto my store and created a listing using admin interface, inputed all the sizes and colors and then downloaded a tab delimated file to open in excel. Opens fine after spending hours adding products (shoes) with all the size attribute fields filled i uploaded it, without problems but the attributes for all the shoes i created will not appear on the store? the listings themselves show up no probs but with no attributes attached to them?

     

    i then downloaded anoth .txt to open in excel and to my surprise the listings were there but the attribute fields were not filled??? except for the one i built using the admin interface. do you no if there is a bug or am doing something wrong?

     

    thanks for listening, please help eeek! :thumbsup:


  11. Hi folks i wonder if someone could help me?

    I have been successfully using Easy populate for months now without any problem. I have now expanded my catalogue to add various different pairs of shoe. i created an initial listing of a pair of these shoes using the web interface so that when i downloaded the .csv i would have a pair that i could copy and then change price/size etc without having to input all of the data.

     

    When i upload despite puting in the "0's" next to the attribute i want to appear nothing is coming up on the site?? the listings are on the site but no attributes?

     

    any ideas what could have caused this problem?


  12. Hi folks i wonder if someone could help me?

    I have been successfully using Easy populate for months now without any problem. I have now expanded my catalogue to add various different pairs of shoe. i created an initial listing of a pair of these shoes using the web interface so that when i downloaded the .csv i would have a pair that i could copy and then change price/size etc without having to input all of the data.

     

    When i upload despite puting in the "0's" next to the attribute i want to appear nothing is coming up on the site?? the listings are on the site but no attributes?

     

    any ideas what could have caused this problem?


  13. Hi there, i have tried to install links manager v0.20 but it will not work all i get is this

     

    1146 - Table 'iniquityclothing_com_1.configuration_group' doesn't exist

     

    select * from configuration_group where configuration_group_title = 'Links'

     

    [TEP STOP]

     

    i have followed all instructions on installing and uploading files to respective folders but nothing?? Any ideas would be great.

    Thanks

×