Jump to content

Yak39

Members
  • Content count

    79
  • Joined

  • Last visited

Everything posted by Yak39

  1. Yak39

    Official PayPal IPN Support Thread

    Hello I'm using an old release of PayPal IPN Official, the last compatible with 2.2. I have been using the release for two years without a scratch. Last week express_checkout.php returned an error 500. Looking at the server's log the only information I have is the following: " End of script output before headers" the error feedback is not enough for me to understand what happened. I immediately though our hosters changed something in the PHP version our space is running but I have received confirmation nothing has changed in the server's configuration. Can anybody help me guess what happened? Thank you
  2. Yak39

    [Development] Products Specifications

    Thanks for the feedback: haven't figured it out a 100%, but at least I got it working. Did not modify categories.php, but by creating an empty specification group with text area and not filled by any previous data set from existing tables product_specifications_input.php shows up. Question is why anything else does not. But I'll look deepe into categories.php as you mentioned.
  3. Yak39

    [Development] Products Specifications

    Hi Jim, apologies I forgot to mention I was talking about the Admin side! I've created a dummy specification that applies to all of the categories. I noticed that the textboxes of Header Tags Seo have disappeared after I included the product tabs addon that comes with Product Specifications. I'm pretty sure there's either some conflict of I just put the php request too early in the code. I don't see any "formal" coding error nor I get any error messages. I'm really kind of lost. Main contribs I'm think of as possible conflicts: Admin Access Level MVS (but I guess you could tell me more about that ;) ) Header Tags SEO. Any experience with those? thanks a lot.
  4. Yak39

    [Development] Products Specifications

    Hi all, I'm trying to implement Products Specifications (really great contrib!) inside my very heavily customised OSC, originally based on 2.2 It's all fine except for categories.php. Everything seems ok, but the tab that would be supposed to include product_specifications_input.php it's just empty: no textarea, no checkbox or else. I reviewed all categories.php and I believe I correctly implemented this: <td> <?php // Products Specifications require (DIR_WS_MODULES . FILENAME_PRODUCTS_SPECIFICATIONS_INPUT); ?> </td> Could there be any issues with Admin Access with Levels contrib? thank you.
  5. Yak39

    Multi_Vendor_Shipping new thread

    Jim, thank you for the suggestion. This is definitely the direction. I was actually thinking to replace vendors_id with admin_id (from that specific contrib), but I sense that in your way probably I would need to edit less files, and especially mess less with categories.php. On that matter: I noticed that the vendors_id values are pulled from the database with a query, stored into the vendors_array and then pushed into a select. Any suggestion on how to hide the field and replace it with a fixed value input depending on the session? No need to give me the full code, I just a sample to be directed to! Thanks again for your time and effort.
  6. Yak39

    Multi_Vendor_Shipping new thread

    Hi all, been working on this great contrib for quite a while now. Has anyone ever needed to tie a specifc vendor_id to a product in an automatic way (that is without selecting from the vendor_id drop down menu in the products page)? If so could anyone point me to the code to look at? My objective is to tie the vendor_id of categories.php to a login_id I'd pull from Admin Access 2.0 Thanks to anybody who could lead me towards the right direction.
  7. workaround posted on contrib's page. Also a better way to handle the httpResponse could be this: function createRequestObject() { var req; if(window.XMLHttpRequest){ req = new XMLHttpRequest(); } else if(window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); } else { req = NULL; alert('Probleem met het aanmaken van hetXMLHttpRequest object'); } return req; } var http = createRequestObject(); function sendRequestSearch(iets) { http.open('get', 'ajaximage.php?zoek='+iets); http.onreadystatechange = handleResponseSearch; http.send(null); } function handleResponseSearch() { if(http.readyState == 4 && http.status == 200){ if(http.responseText) { document.getElementById("zoek_resultaten").innerHTML = http.responseText; } else { document.getElementById("zoek_resultaten").innerHTML = " "; } } else { document.getElementById("zoek_resultaten").innerHTML = " "; } }
  8. Yak39

    [Contribution] STS v4

    wooops! No worries, the workaround you gave me was perfect, thanks for helping me out!
  9. Yak39

    [Contribution] STS v4

    Hey Bill, nice to hear from you and thanks for replying (and for the great contrib!) Here some more details: I of course tried to deactivate STS and this way the contrib works perfectly. I've checked and the scripts are correctly included or required in the template pages. The thing is the following: The script calls for an image created in a div. It uses and HttpResponse which instead of giving back the picture alone it also give back also the rough structure of the sts template (the template code with placeholders).. what is the contrib you managed to create for attribute pictures? Thank you so much
  10. please guys is there really no one who knows how to get around this? :(
  11. Yak39

    [Contribution] STS v4

    .... :) You're wrong... STS is a system designed to work INSIDE the OSC environment...it helps you creating in a far easier and versatile way templates to ovverride OSC standard (and pretty poor) graphics. You can't crate copies of pages inside OSC on the outside. What you could do could be calling some products and other modules outside Oscommerce with this simple contrib: Content Outside OSC Now, would somebody answer also my question please? :)
  12. Yak39

    [Contribution] STS v4

    Hi all, I have a question, I'm trying to integrate the following contrib on my OSC which of course runs STS: Ajax attributes images What it does is simply linking an option to a an image, so that by slecting the corresponding option you can see a corresponding image in realtime. Unfortunately, when the ajax call happens in product_info.php the result given is not the content I'm supposed to retrive but the HTML code of the STS template. I suppose the two contributions have issues because of this code: <script language="javascript"> function createRequestObject() { var req; if(window.XMLHttpRequest){ req = new XMLHttpRequest(); } else if(window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); } else { req = NULL; alert('Probleem met het aanmaken van hetXMLHttpRequest object'); } return req; } var http = createRequestObject(); function sendRequestSearch(iets) { http.open('get', 'ajaximage.php?zoek='+iets); http.onreadystatechange = handleResponseSearch; http.send(null); } function handleResponseSearch() { if(http.readyState == 4 && http.status == 200){ if(http.responseText) { document.getElementById("zoek_resultaten").innerHTML = http.responseText; } else { document.getElementById("zoek_resultaten").innerHTML = " "; } } else { document.getElementById("zoek_resultaten").innerHTML = " "; } } </script> Any work around suggested? thanks!
  13. Yak39

    [Contribution] STS v4

    Well, first of all why have you got a file in oscommerce called appareal.php? My guess is that you renamed something....and you have somehow altered the standard oscommerce structure.
  14. Hi Bill, first of all thanks for all your great work in the community (been using lots of code from you in the past years). I have a question, I'm trying to integrate the following contrib on my OSC which of course runs STS: Ajax attributes images What it does is simply linking an option to a an image, so that by slecting the corresponding option you can see a corresponding image in realtime. Unfortunately, when the ajax call happens in product_info.php the result given is not the content I'm supposed to retrive but the HTML code of the STS template. I suppose the two contributions have issues because of this code: <script language="javascript"> function createRequestObject() { var req; if(window.XMLHttpRequest){ req = new XMLHttpRequest(); } else if(window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); } else { req = NULL; alert('Probleem met het aanmaken van hetXMLHttpRequest object'); } return req; } var http = createRequestObject(); function sendRequestSearch(iets) { http.open('get', 'ajaximage.php?zoek='+iets); http.onreadystatechange = handleResponseSearch; http.send(null); } function handleResponseSearch() { if(http.readyState == 4 && http.status == 200){ if(http.responseText) { document.getElementById("zoek_resultaten").innerHTML = http.responseText; } else { document.getElementById("zoek_resultaten").innerHTML = " "; } } else { document.getElementById("zoek_resultaten").innerHTML = " "; } } </script> Any work around suggested? thanks!
  15. Hi Berthx first of all thanks for your contrib. I have a question, I'm trying to integrate it on my OSC which of course runs STS: Unfortunately, when the ajax call happens in product_info.php the result given is not the pictures I'm supposed to retrive but the HTML code of the STS template. I suppose the two contributions have issues because of this code: <script language="javascript"> function createRequestObject() { var req; if(window.XMLHttpRequest){ req = new XMLHttpRequest(); } else if(window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); } else { req = NULL; alert('Probleem met het aanmaken van hetXMLHttpRequest object'); } return req; } var http = createRequestObject(); function sendRequestSearch(iets) { http.open('get', 'ajaximage.php?zoek='+iets); http.onreadystatechange = handleResponseSearch; http.send(null); } function handleResponseSearch() { if(http.readyState == 4 && http.status == 200){ if(http.responseText) { document.getElementById("zoek_resultaten").innerHTML = http.responseText; } else { document.getElementById("zoek_resultaten").innerHTML = " "; } } else { document.getElementById("zoek_resultaten").innerHTML = " "; } } </script> Any work around suggested?
  16. Yak39

    Seperate Pricing Per Customer v3.5

    Thank you Jan, perfect help. I also confirm you that the previous snipped code works and also successfully get's imported in a Vtiger / OSC bridge we're working on. Take care, francesco
  17. Yak39

    Seperate Pricing Per Customer v3.5

    Ok some updates: I figured, by using other snippets of code, how to make it so that a user coming from a specific country (say id 204, switzerland) can be assigned to a specific group. // put everybody in group if ($country == 204) $sql_data_array['customers_group_id'] = '3'; But, how can I associate more than a country to a specific group without setting it manually?
  18. Yak39

    Seperate Pricing Per Customer v3.5

    Hi All, and most importantly hi Jan. First of all thanks for taking care of this contribution, I've been running it for a year now and had multiple occasions to search thru the assistance you provided on this forums during years! amazing. This time it's unfortunately my turn. I'm trying to figure out a good way to create an "auto-assign to group" scheme, on which upon registration the user gets assigned automatically based on his country of origin. The currency issue wouldn't be a problem as the currency for my customers would be just the same. I searched through the forum and I could find two "hints" on the matter, HERE and HERE Here's what I don't get: In Loadmaster's code I do not understand where is the actual action of assigning the user to a group and how could this code be linked to a country of origin instead of a pre-defined value set on top of create_account.php can you assist? thank you
  19. Goeffry, didn't want to criticize the present work or anything. I'm perfectly happy as well in having this solution. It would be worse in not having. But I think that many people in here have got customers that at least once have been requesting this kind of feature. I think that the next level of PEF EP would really be a joint update, saving a lot of work by doing this. I was here to start a dialogue over the intrest of evolving or not and already good product. Surely I don't have lots of PHP skills, but I would gladly do my part to help.
  20. Hi All, I was wondering: has somebody of you come out with a way to upload with just ONE excel file both normal products field and extra fields? I know that usually we all use easy populate & products extra fields together, but uploading 2 different excel files with only the product model in common it gets kind of tricky expecially for unexperienced endusers. I had a look around on google, and found this post dated 2007 from a Zen Cart developer, that modified from scratch the DB to host another extra product field and then modified an old easy populate version to be used to upload every data with only a single file. Basically, no product extra fields needed. Here are the links; do you think this kind of patch is appliable to oscommerce as well? ADDING PRODUCT FIELD: http://anekostudios.com/2007/04/25/my-first-zencart-tip/9/ EASYPOPULATE MOD: http://anekostudios.com/2007/05/01/editing-easy-populate/
  21. Hi, I have the same problem too. As far as I got there is another contrib -CCGV (trad)- that has become the official one, where latest relase has this bug fixed. The problem is that nobody explains there how to update from different CCGV versions (I use 5.19 too). The only reference I found was related to CCGV 5.10c stated to be the only one working fully. I downloaded it but I wasn't able to find out the hack to avoid nested forms. Vger, the author of the contrib could help here.... Anyone else can?
  22. I see, i've been downloading and reading your wonderful version's manual. Still I need to have one explanation: I understand that if I add a field in the "product" or "products_description" tables EP 2.76g will update those fields in the tables. Anyways I'll still have to code those fields inside product_info.php in order to have them on the product info page right? And there is no contribution that actually adds extra fields directly in the products or products_description table am i correct? Sorry for bothering but I'm really willing to learn!:) Thank you!
  23. After long I've fixed it. It is all about the sql script that has to be run. Looks like the script works only with the configuration_group_id set to 100. Other number just won't work. the thing is that on id=100 I had already the Support Ticket System Contrib and the two were messing up the whole thing.
  24. Ok all, here is my question I really don't have and hint after 4 days looking in the forums for a solution. First of all, this is not my first install of this great contrib. This time I just downloaded the structure of OSC i had on one site and decided to adapt it to another. For what concerns OTF-AT I've been re-uploading the product-thumb.php and then ran the sql statements. When I upload a picture I obtain this wierd issue you can see here: http://www.libreriaportavenezia.biz/shop/ Images are no resized correctyl and they appear corrupted, like they were in an high jpeg compression (but compression is set to 70). I don't get why one of those picture is working fine since they are all jpeg. No one of them has been uploaded via ftp with the exception of no-image.jpg (but still in binary mode) Most importantly, the thumb images generated look like this: THUMBNAIL_PATHfilename.jpg What the hell is going on? Can anyone assist here? Thank you very much.
  25. Yak39

    Bad Images problem

    Some hints, I hope at least this will be useful to people coming up with the same problem. looks like the issue is related to On the Fly AutoThumbnailer with GD. Infact, looks like Autothumb. is not able to generate correctly thumbnailedpics, generating strange name files like: THUMBNAIL_PATHfilename.jpg. It looks like this belongs to a misconfiguration of some kind of path. I have already double-checked the files but still haven't found it.
×