Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

olsonsp4c

Pioneers
  • Posts

    545
  • Joined

  • Last visited

Posts posted by olsonsp4c

  1. Hello,

     

    I've been reading through these forums about the watermark issues - text and graphic...

     

    now, depending on how you have set up catalog/includes/configure.php - the offending line of code may differ!

     

    For some of you, check catalog/imagemagic.php for a missing starting '/' before 'includes/imagemagic/...' in the watermark path around 261 like suggested earlier by Mark.

     

    HOWEVER, I found my issue was in the changes to admin/includes/functions/general.php

     

    It uses the document_root as a path for the font (text) and graphic watermarks... in my configuration I had to add my starting '/' before 'includes/imagemagic/...' in bot the text and graphic watermark path. Then POOF, the dropdown box appeared in the Admin!

     

    I did not need to change imagemagic.php

     

    Hope this helps some of you!

     

    Scott

    olsonsp4c

  2. http://localhost/catalog/modules.php?op=mo...111dc78af9173bc

     

    I apologize in advance for this simple possible answer, but, assuming that this is exactly what is in the address bar, the link in your infobox should be:

     

    http://www.yourwebsite.com/modules.php?op=...111dc78af9173bc

     

    OR

     

    http://www.yourwebsite.com/yourpathtotheos...111dc78af9173bc

     

    I sincerely hope this is the issue so that you can avoid a more tedious process of troubleshooting.

     

    Thanks!

     

    Scott

  3. This is the original author - my plate has been really full, so I've not been able to update this contrib like I'd have liked or support it well (as I am not really a coder as those of you who are probably figured out by the way I wrote the hacks).

     

    I just wanted to say thank you from the bottom of my heart to those who are making my contribution better and are actively supporting it here on this thread.

     

    Appreciate you.

     

    Scott

  4. I have the Same Problem:

     

    Parse error: parse error, unexpected T_CASE in .../shop/catalog/admin/orders.php on line 154

     

    Around that Line is this:

     

     tep_redirect(tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . 'action=edit'));
       break;
       case 'deleteconfirm':
       $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']);
    
       tep_remove_order($oID, $HTTP_POST_VARS['restock']);
    
       tep_redirect(tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action'))));
       break;
      }
    }

     

    Has anybody fixed that Problem ? I really need that Contrib asap. It would be great if anybody can help me !

     

    See the previous post - about 2 earlier where a poster solved this problem - i believe that it is a fix that makes it compatible with other installed contribs. thanks! - Scott

  5. How long ago did you install this payment module? What version of PHP are you running?

     

    At this point I don't think it's likely that the problem you've described is caused by Order Editor. Payment modules live on the catalog side, and Order Editor lives on the admin side, and rarely do the twain meet.

     

    Thanks for the reply... It's been installed for about 1 year. PHP Version 4.4.3-dev and PHP 5.1.2 are both listed on my server.

     

    Scott

  6. Hello... I just installed version 2.3 of the order editing tool and get the following error message when I try to edit an order:

     

    Fatal error: Call to a member function on a non-object in /home/xxxxxxx/includes/modules/payment/freeofcharge.php on line 42

     

    This is the line in the freeofcharge module that dynamically turnes this contrib off if the sum total of the order is <.01:

     

    if ($cart->show_total() >= 0.01) {

    $this->enabled = false;

     

    Why would this cause it to be incompatible with the order editor?

     

    Any thoughts?

     

    Thanks!

     

    Scott

  7. Just getting the contribution installed, and I have a few questions:

    I've downloaded all the updates for the contribution....I don't see these tables in the SQL only an edit to Orders table.

    Is this an error in the installation instructions?

    Same story...file not included. Do I use the catalog/tracking.php from the ZIP.

    Is this an error in the installation instructions?

     

    No error in sql.

     

    step 7 should be moved to bottom "optional" section. thanks! Scott

  8. Again - because the editor keeps converting the code.

     

    OK, sound the trumpets!

     

    To convert the html for spaces, quotes, and line breaks to your PDF:

     

    In catalog/admin/pdf_catalogue.php search for (around line 650):

    $description=rtrim(strip_tags($print_catalog_array[$j]['description']));

     

    Change to:

    					$char=array(" ", """, "<br />");
    				$charto=array(" ", "\"", "\n\r");
    				$description=rtrim(strip_tags(str_replace($char, $charto, $print_catalog_array[$j]['description'])));

     

    Hope this helps a few hundred of you out.

     

    Scott

  9. OK, sound the trumpets!

     

    To convert the html for spaces, quotes, and line breaks to your PDF:

     

    In catalog/admin/pdf_catalogue.php search for (around line 650):

    $description=rtrim(strip_tags($print_catalog_array[$j]['description']));

     

    Change to:

    					$char=array("?", """, "<br />");
    				$charto=array(" ", "\"", "\n\r");
    				$description=rtrim(strip_tags(str_replace($char, $charto, $print_catalog_array[$j]['description'])));

     

    Hope this helps a few hundred of you out.

     

    Scott

  10. If I'd just read my post more closely... the last one included my failed attempt to hack in line breaks.

     

    Let's try that again:

     

    In catalog/admin/pdf_catalogue.php search for (around line 650):

    $description=rtrim(strip_tags($print_catalog_array[$j]['description']));

     

    Change to:

    					$char=array("?", """);
    				$charto=array(" ", "\"");
    				$description=rtrim(strip_tags(str_replace($char, $charto, $print_catalog_array[$j]['description'])));

     

    Thanks. If anyone know the fix to convert html line breaks to pdf, please post or pm me.

     

    Scott

  11. Let's try that again:

     

    Find line 650 in pdf_catalogue.php in admin:

    $description=rtrim(strip_tags($print_catalog_array[$j]['description']));

     

    Change to:

    					$char=array(" ", """, "<br />");
    				$charto=array(" ", "\"", "break;");
    				$description=rtrim(strip_tags(str_replace($char, $charto, $print_catalog_array[$j]['description'])));

     

    Thanks. If anyone know the fix to convert html line breaks to pdf, please post or pm me.

     

    Scott

  12. Vger,

     

    love this contrib - thanks! I only have one thing I'm trying to figure out. After the pdf is generated, it works great and looks great; however, all double quotes and extra spaces appear as their html counterpart. See below to see what I mean:

     

    "One thing I ask of the Lord, this is what I seek: that I may dwell in the house of the Lord all the days of my life, to gaze upon the beauty of the Lord and to seek him in his temple. Hear my voice when I call, O Lord; be merciful to me and answer me.? My heart says of you, 'Seek his face!' Your face, Lord, I will seek."? Psalm 24:4,7-8

     

    Any help would be greatly appreciated :D

     

     

    I figured it out:

     

    Find line 650 in pdf_catalogue.php in admin:

    $description=rtrim(strip_tags($print_catalog_array[$j]['description']));

     

    Change to:

    $char=array("?", """);

    $charto=array(" ", "\"");

    $description=rtrim(strip_tags(str_replace($char, $charto, $print_catalog_array[$j]['description'])));

     

     

    I still haven't figured out how to make line breaks "<br>" to carry over to the pdf yet though.

     

    Scott

  13. Vger,

     

    love this contrib - thanks! I only have one thing I'm trying to figure out. After the pdf is generated, it works great and looks great; however, all double quotes and extra spaces appear as their html counterpart. See below to see what I mean:

     

    "One thing I ask of the Lord, this is what I seek: that I may dwell in the house of the Lord all the days of my life, to gaze upon the beauty of the Lord and to seek him in his temple. Hear my voice when I call, O Lord; be merciful to me and answer me.  My heart says of you, 'Seek his face!' Your face, Lord, I will seek."  Psalm 24:4,7-8

     

    Any help would be greatly appreciated :D

  14. Hello everybody.

     

    I've noticed a few people mentioning that they could not get the dropdown box for watermarks to work properly (just a blank dropdown). In my configuration, I was able to fix that by:

     

    Open catalog/admin/includes/functions/general.php

     

    Change DIR_FS_DOCUMENT_ROOT (2 instances)

    To DIR_FS_CATALOG

     

    So, that is fixed, but now all my images are broken links :rolleyes:

  15. Hello - for some reason, I can not get the txt file that froogle.php outputs to include a session_id numbers at the end of the url; therefore, froogle keeps rejecting my feed. Below is the code, any thoughts:

     

    // Change to 'false' to disable the use of SEO

    define('SEO_ENABLED','true');

     

    if(SEO_ENABLED=='true'){

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

    // Modification for SEO

    // Since the ultimate SEO was only installed on the public side, we will include our files from there.

    require_once('../includes/configure.php');

    require_once('../includes/filenames.php');

    require_once('../includes/database_tables.php');

    $languages_id = 1; // CHANGEME - Change this to the id of your language. BY default 1 is english

     

     

    include_once('../' .DIR_WS_CLASSES . 'seo.class.php');

    $seo_urls = new SEO_URL($languages_id);

     

    function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) {

    global $seo_urls;

    return $seo_urls->href_link($page, $parameters, $connection, $add_session_id);

    }

    }

     

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

     

    // Start TIMER

    // -----------

    $stimer = explode( ' ', microtime() );

    $stimer = $stimer[1] + $stimer[0];

    // -----------

     

     

    $OutFile = "../feeds/froogle.txt"; //"CHANGEME-full-path-to-file-with-777-dir-and-file-permissions.fr-outfile.txt";

    $destination_file = "froogle.txt"; //"CHANGEME-filename-to-upload-to-froogle.txt" ;

    $source_file = $OutFile;

    $imageURL = 'http://www.myurl.com/images/';

    if(SEO_ENABLED=='true'){

    $productURL = 'product_info.php'; // ***** Revised for SEO

    $productParam = "products_id="; // ***** Added for SEO

    }else{

    $productURL = 'http://www.myurl.com/product_info.php?products_id=';

    }

     

    $already_sent = array();

  16. Did you ever figure this problem out? I'm having the exact same problem occur when trying to install the mod.

     

    I did notice in the catalog/includes/classes/order.php file the instructions indicated that $order_query = tep_db_query("select customers_name.... also had a field called comments which was not the case in my order.php file. I added the fedex_track_num, ups_track_num, usps_track_num fields but not the comments field and am wondering if that's being called up somewhere else?

     

     

    hello - it might be because i had installed a contrib for customer comments, though I thought that I removed it so it wouldn't be in the code. Just fyi, the mod was called "Customer Comments" (1.2?). thanks!

     

    Scott

  17. hello. i've just installed this module and it works great, well it does apart from one little thing that i can't figure out how to fix...

     

    -the first email i get for placing my order works fine (& the link to domain/shop/account_history_info.php)

     

    -the second email i get after changing status to shipped arrives fine but the link to account_history_info.php is incorrect and changed to domain/shop/shop/account_history_info.php

    apart from that i get the tracking numbers ok..

     

    does anyone know why or where it changes the link to /shop/shop/account_his... ???

     

    i've checked /admin/orders.php but all the email code for each looks the same :(

     

    anyhelp would be very much appreciated...

     

    check your configure.php file and make sure that all the paths listed are correct (shop does not appear redundantly)

     

    thanks!

     

    Scott

  18. Hi, Scott:

     

    While install the Thumbnail PDF catalog, I encontered this:

    How to update the html_output.php?

     

    To make the site's images un-stretched, I installed the Stretch Fix

    contribution. This contribution updates the orginal html_output.php and this

    updated file is the current copy of the html_output.php in server.

    I use the "compare and merge" tool to compare the current html_output and

    your version of the html_output.php. There are some differences between and

    I am not sure of how to merge them.

     

    Can you look into them and advise me how to change them to retain both

    objectives?

     

    two files are ready for your review. Where can I send them to?

     

    html_output_backup.php --> the copy with Stretch Fix contribution

     

    html_output.php --> your contribution copy.

     

    Thanks in advance.

    Spencer

     

    Hello Spencer - you can always pm me. I also have my email listed if you click my user name and find out my personal info. Quickly, no I don't think there are any stretching issues that I am aware of by combining the "OTF thumbnailing with GD Library." Also, as Vger said, I use this contrib without regard to bandwidth, though I believe this was addressed by the most recent update to OTF thumbnailing. I use it because I view the advantage of using multiple image file types - ie GIF - without the annoying black background as worth it over the previous contrib updates. I appreciate Vger's contrib and just desire to see it get better.

     

    Thanks!

     

    Scott

  19. Hello,

     

    I am in process of install this contribution and I read the "Read Me First". But I can't find the instruction test mensioned in this paragraph:

    ******************************************

    Installing The Thumbnail Contribution

     

    This is very simple to install. If your site has not modified the catalog/includes/functions/html_output.php file then do the following - rename that file

     

    and then replace it with the file included with this package. If you have modified that file then follow the instructions in the text file also

     

    enclosed in the 'functions' folder.

     

    *******************************************

     

    Since the catalog/includes/functions/html_output.php was modified when installed the image Stretch Fix contribution. Therefore I need to modify it by following the text instructions.

    I can't find the text instructions in the upzipped funtions folder.

     

    Where is it?

     

    thanks

     

    Spencer

     

    If you are using the one that I updated using GD library, you don't need to modify the html_output.php file at all. I forgot to delete that part of the instructions.

     

    thanks!

     

    Scott

  20. Hi,

     

    I have a same problem. Did you figure it out yet?

     

    Not yet, I've contacted a number of people about it and have not figured it out. I do know that bbdefault is calling applicationtop twice, but if I comment out the include(...$file) line, I get a different error about ksort() which no one seems to be able to fix. Also, I've tried going to applicationtop and changing all require to require_once and it "works" without error but then pulls the wrong page in the left frame - the index.php admin page for oscommerce ends up in the frame rather than the phpbb nav menu. if you figure it out, lots of people would be very happy! thanks! a confuser for me is that it actually used to work and then quit working for no reason!

     

    Scott

×
×
  • Create New...