Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nlaur86

Pioneers
  • Posts

    44
  • Joined

  • Last visited

Posts posted by nlaur86

  1. Hello!

     

    I installed the "Cart Cookie" contribution and after a few tests everything seemed to work just fine.

    After a few days I started to receive e-mails from my clients complaining that their cart is empty when they come back on my site. I tryed to see where the problem is testing it on Opera and IE and it seems that:

    1. In IE, if I restart the computer, the cart is lost. I don't know yet if it has to do with me restarting the computer, or it's based on a fisex period.

    2. In Opera, it works for 1-2 hours (can't get the exact period). After that time, my cart is empty again...

     

    I have these settings:

     

    SESSION_FORCE_COOKIE_USE = false;

    STORE_CART_COOKIE = true;

    MAX_LIFE_OF_CART_COOKIE = 30;

     

    HTTP_COOKIE_DOMAIN = 'www.domain.com';

     

    Is there a way to test if there is a problem and what is the problem? I also have installed a contrib for user cookie (user remain logged in) but I can't remember which one. The same thing happens with this too. So when I loose the cookie for the cart, I loose it for user too.

     

    Any advices?

    10x

  2. Ok, this may sound a little stupid but... I have a question about the referral system.

    As I can see now, after a user creates an account, when he places his first order he is asked if he/she was referred by someone else and asked to type the email address.

    This is too complicated, because one can enter a wrong address...

    So, wouldn't it be possible to create a referral link in every customer's account page?

    Something that whey will show to their friends, and if someone visits the page and creates an acount, they are credited with points?

    The link should be something like www.domain.com/referrer.php?client_id=xxx or something like that...

    How hard would it be to implement that?

  3. Hello!

     

    I am using this contribution and it's great! But I want to make an improovement to it and I need some help.

    For my business, I don't need to upload different images for small and large images (XL and SM) so I would like to upload only one (for the XL image) and resize it to the thumbnail dimmension (for the IM image).

     

    So I came up with this code until now:

     

            $products_image_sm_1 = new upload('products_image_sm_1');
           $products_image_sm_1->set_destination(DIR_FS_CATALOG_IMAGES);
           $products_model_sm_1 = ('SM1' . $products_model);
           $products_image_sm_1->set_name($products_model_sm_1);
           if ($products_image_sm_1->parse() && $products_image_sm_1->save()) {
             $products_image_sm_1_name = $products_image_sm_1->filename;
             resizeJPG1(DIR_FS_CATALOG_IMAGES.'/'.$products_image_sm_1_name, SMALL_IMAGE_WIDTH/2);
           }

     

    The resizeJPG function looks like this:

     

    function resizeJPG1($jpgFile, $width) {
       list($width_orig, $height_orig) = getimagesize($jpgFile);
       $height = (int) (($width / $width_orig) * $height_orig);
       $image_p = imagecreatetruecolor($width, $height);
       $image = imagecreatefromjpeg($jpgFile);
       imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);
       imagejpeg($image_p, $jpgFile, 70);
    }

     

    How this works for now? When I choose the file to be uploaded, I use the same file for both XL and IM images. And for the IM image, I do the resizing.

    How can I do this to choose only one file?

    I tryed to use something like "$products_image_sm_1 = new upload('products_image_XL_1');" but it didn't work. Any ideas?

     

    Thank you!

  4. I found where the problem was.

    I am using a Slashdot menu (this one) for column_left.

    If I erase the <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> it works just fine.

    Any idea why this is happening?

    I found that the problem is with the "gliding" script:

     

    	<script type="text/javascript">
    // <![CDATA[
    var myMenu;
    window.onload = function() {
    	myMenu = new SDMenu("my_menu");
    	myMenu.init();
    };
    // ]]>
    </script>
    

    If I erase ONLY this code, the AJAX Attribute contribution works fine, but I can't use my menu (it can't glide)

  5. hello!

    It seems that I can't use this contrib. I am using 3 browsers: IE 8, Opera 10 and Mozilla 3.6.2.

    The problem is that it does nothing. Nothing is showing below the price.

    I tryed to delete the .htaccess file but with no luck. I used a lot of versions of this contributions and none worked.

    I've had some errors in the language file (<? converted to <?php and <br /> converted to <br>) but beside this nothing is showing

    Only when I try to add a new product I get this message: "Save Product before adding options"

    So, there is a solution to this problem?

     

    Thank you!

  6. Ok, I can understand that but could you just give me a guideline about what should I do? Where should I look to solve this thing? I looked everywhere and I can't find the problem.

    Strange thing is that when I go to the second page of a category and I try to get back to first page (by clicking on the "previous page" button I gev the link "/index.php?cPath=1&sort=6a&page=1" so it isn't rewrite back

    Please, if you can and have any idea why this is happening, please help me.

     

    Thank you!

  7. Hello!

    I have a little problem and I can't solve it by myself.

    I installed this great contrib and almost everything is working. The only part that is not working is when I am trying to access the second page from a category.

    So, for ecample, when I press the "AMOI" category (in my store) the link is http://magazindeinchiriat.ro/demo/amoi-c-1.html . But if I try to go to page 2 the link is: http://magazindeinchiriat.ro/demo/index.php?cPath=1&sort=6a&page=2 .

    I can't get this to work. How can I solve it?

     

    My .htaccess file looks like this:

     

    # Ultimate SEO URLs BEGIN
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    
    RewriteCond %{QUERY_STRING} ^options\=(.*)$
    RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2%1
    RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
    RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
    

     

    Do I need to add something to it?

    Regards,

    Laurentiu

  8. Do the title and meta tags show up when you use the view source of the browser on the actual page? What are the results of the test function?

    If I try to view the source this is what I see:

     

    <title></title>

    <meta name="Description" content="" >

    <meta name="Keywords" content="" >

    <link rel="canonical" href="http://localhost/diploma/about.php" >

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >

     

    So nothing is inserted.

    In the test function I get 3 errors:

    1. Permissions Error (but I am using Windows, and the permissions are ok)

    2. Duplicate title found

    3. Duplicate meta description found

     

    thanks!

  9. I installed this contribution but it's not working :(

    When I go to header tags SEO, I select a file (about.php) and write the title, description and keywords. I press update and the data is stored. If I press View Results I can see nothing. The title, description and keywords are shown on a red bakground and with no data in the field (see the attached picture)

    red.jpg

    When I go to the catalog section, nothing happens. I tryed the same thing with other files but nothing works.

    In the database everything is ok. If I write the default tags, those are shown in the catalog.

    The source code for about.php is:

    <head>
    <title></title>
    <meta name="Description" content="" >
    <meta name="Keywords" content="" >
    <link rel="canonical" href="http://localhost/diploma/about.php" >
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >

     

    So, any help? Thanks!

     

    Late edit: I just noticed that if I am writing the default tags and I press View Results on any page I can see only the title completed automaticly from the default tags (yellow background). The description and the keywords are not shown and the background is still red. In the catalog section I can see the title but not the description and the keywords.

  10. Great contribution! Congrats to all developers.

    Could someone, please, tell me how can I add new links? I mean, I would like to see www.mywebsite.com/contact instead of contact_us.php. The same for shopping cart and for other info pages.

    I modified .htaccess file and added this: rewriterule ^contact contact.php [L]

    The problem is that when I clikc the Contact Us button, I get the address www.mywebsite.com/contact_us.php. If I access www.mywebsite.com/contact it works. So, how do I make this work?

    The second question: how do I modify the way that my modified links looks like? I would like to see it like folders. In fact, I don't like that -p-16.html there.

    Please help me, cause I am a beginner in mod_rewrite. Thank you very much

     

    Regards!

  11. This is a very nice and usefull addon, but I'm having some problems installing the last version (1.3).

    I upload the files into "Mobile" folder, change the configure.php as you said and... the result is this:

     

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

    Notice: Constant DIR_WS_HTTP_CATALOG already defined in C:\wamp\www\diploma\includes\configure.php on line 9

     

    Notice: Constant DIR_WS_HTTPS_CATALOG already defined in C:\wamp\www\diploma\includes\configure.php on line 10

     

    Notice: Constant DIR_WS_IMAGES already defined in C:\wamp\www\diploma\includes\configure.php on line 11

     

    Notice: Constant DIR_WS_INCLUDES already defined in C:\wamp\www\diploma\includes\configure.php on line 13

     

    var catNav = new CategoriesNavigator('index.php', '

    Fatal error: Call to undefined function domxml_new_doc() in C:\wamp\www\diploma\mobile\includes\classes\common_js.php on line 48

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

     

    How can I fix the fatal error?

    Thank you!

     

    Later Edit:

     

    I solved the problem with the fatal error. I just tryed to access mobile.php instead of index.php and it's k now.

    Now, how can I make it not to see the Notices anymore?

    Thanks!

  12. Hello!

    Could someone help me? I really need an addon to do something for me and I can't find it.

    I would like to see subcategories in a box at top of products list.

    When you click on a category this box will appear there, and will allow you to choose the desired subcategory.

    What I want is exactly as it is described in this pic: OSC.jpg

    Please help :).

    Thank you a lot!

     

    Laurentiu Neagu

  13. I just installed the "Ultimate Seo Urls v2.5 FullPackage" version (made by faaliyet).

    I have a huge pb: I tryed to install it first on my localhost, to see if it works.

    I use WAMP 2 with default settings.

    So if I upload the .htaccess file on C:\wamp\www\catalog I can't see the site. I get this message:

    500 Internal Server Error

    Internal Server Error

     

    The server encountered an internal error or misconfiguration and was unable to complete your request.

     

    Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

     

    More information about this error may be available in the server error log. "

     

    If I delete the .htaccess file I can access my website (index.php) but when I press on a product or on a category or anywhere else I get this error:

    "Not Found

     

    The requested URL /accesoriiargint/lalele-p-200.html was not found on this server."

     

    So I guess something is wrong with my .htaccess file. Do you have any ideea y this doesn't work?

     

    Thank you!

×
×
  • Create New...