Jump to content
Latest News: (loading..)

Yak39

Members
  • Content count

    79
  • Joined

  • Last visited

Profile Information

  • Real Name
    Francesco Rossi
  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?
×