Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Steven B

Members
  • Content count

    10
  • Joined

  • Last visited

Posts posted by Steven B


  1. Yes, yours is doing right.

    My error comes in place if the upload input field.

    I will look at my code later.

    Thanks

     

     

     

    Nope, no error messages here. My test is based on a stock osC RC2a shop with Customer Testimonials v4.0 installed.

     

    Did you do as I suggested regarding the file comparison?

     

    Here is the link to the test site (It won't be up for long).


  2. Bill,

     

    I do have the same error messages, but on the bottom of the page i have mine too.

    Maybe you overlooked it?

    If i fill in all fields except image, eveything works fine.

     

    Regards

     

     

     

     

    Steven,

     

    When I submit a testimonial with all of the fields blank I get the required error messages such as:

     

    error.gif A title is required in order to submit your testimonialerror.gif A name is required in order to submit your testimonial

    error.gif A valid email address is required in order to submit your testimonial

    error.gif Your E-Mail Address does not appear to be valid - please make any necessary corrections.

    error.gif A description is required in order to submit your testimonial

     

     

    Check your installation by comparing all of your files with those files included in the download.


  3. Hello Bill,

     

    When submitting without filling in any field i have a error:

    Catchable fatal error: Object of class upload could not be converted to string in /home/xxx/domains/xxx.be/public_html/includes/functions/html_output.php on line 188

     

    On line 188 I have:

    function tep_draw_input_field($name, $value = '', $parameters = '', $type = 'text', $reinsert_value = true) {

    $field = '<input type="' . tep_output_string($type) . '" name="' . tep_output_string($name) . '"';

     

    if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) {

    $field .= ' value="' . tep_output_string(stripslashes($GLOBALS[$name])) . '"'; <<<<--- line 188

    } elseif (tep_not_null($value)) {

    $field .= ' value="' . tep_output_string($value) . '"';

    }

     

    When i delete " tep_draw_file_field('testimonial_image');" in customers_testimonials_write.php the error does not shows up, so there must be the problem.

     

     

    Regards, Steven

     

     

    :lol:

     

    I have just uploaded a new version.

     

    Customer Testimonials v4.0 is available at:

    http://addons.oscommerce.com/info/5477

     

    What's New?

     

    This contribution allows your customer to post a testimonial about your site or your products with the option of uploading an image of them using your products.

     

    As the administrator, you will be notified via email that a customer has posted a testimonial and you must allow it in the admin before it will be visiable to the public.

     

    As the administrator, you will be able to view the text and the image (if an image was uploaded) and have the option to allow the text, image or both.

     

    As the administrator, you will be able to edit both the text and the image.

     

    A new image setting has been established in the Configuration | Images section of your admin to allow you to set the size of the images that are uploaded by your customers.

     

    New installation instructions as well as upgrade instructions included with this download.

     

    Screenshots included.

     

    I hope you find it useful. :rolleyes:

     

    Enjoy,

    Bill Kellum


  4. Hello Robert,

     

    I am using your popout menu which i like very much.

     

    There is comething going wrong in the third level of one category:

     

    <ul id="menu_47">
    <!-- Level 0 -->
     <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=47" title="Classic/Rustic">Classic/Rustic</a>
       <ul>
    <!-- Level 1 -->
         <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=47_28" title="Dining Room Furniture">Dining Room Furniture</a></li>
         <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=47_29" title="Sofas">Sofas</a></li>
         <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=47_43" title="Bedroom Furniture">Bedroom Furniture</a></li>
         <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=47_44" title="Office furniture">Office furniture</a>
         <ul>
    <!-- Level 2 -->
           <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=_48" title="Desks">Desks</a></li>
           <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=_49" title="Bookcases">Bookcases</a></li>
           <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=_54" title="Armchairs">Armchairs</a></li>
         </ul>
       </li>
       <li><a href="http://www.moveistemplo.pt/catalog/index.php?cPath=47_32" title="Small furniture">Small furniture</a></li>
     </ul>
     </li>
    </ul>

     

    As you can see the cPath is not showing corectly.

    I tried changing the sort order and looked if the parent/child paths are correct in phpadmin.

    Did the necesary resets of the cache in FWR menu.

    Nothing seems to help.

    Another category is showing corectly in the third level, but this one alway come as cPath=_48" and not 47_44_48

     

    Are ther more people that had the same problem?

     

    Thanks, Steven


  5. Sorry Robert,

     

    I thougt you meant this forum...

    Anyway, these are my headers, that looks not competely OK i think?

     

    http://www.multistock.be/mooie-tiffany-hang-lamp-herfst-p-3791.html

     

    GET /mooie-tiffany-hang-lamp-herfst-p-3791.html HTTP/1.1

    Host: www.multistock.be

    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

    Accept-Language: nl,en-us;q=0.7,en;q=0.3

    Accept-Encoding: gzip,deflate

    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

    Keep-Alive: 300

    Connection: keep-alive

     

    HTTP/1.x 200 OK

    Date: Sat, 05 Apr 2008 23:10:41 GMT

    Server: NOYB

    X-Powered-By: PHP/5.2.5

    Set-Cookie: cookie_test=please_accept_for_session; expires=Mon, 05-May-2008 23:10:41 GMT; path=/; domain=www.multistock.be

    Connection: close

    Transfer-Encoding: chunked

    Content-Type: text/html; charset=ISO-8859-1

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

    http://www.multistock.be/(EmptyReference!)

     

    GET /(EmptyReference!) HTTP/1.1

    Host: www.multistock.be

    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13

    Accept: image/png,*/*;q=0.5

    Accept-Language: nl,en-us;q=0.7,en;q=0.3

    Accept-Encoding: gzip,deflate

    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

    Keep-Alive: 300

    Connection: keep-alive

    Referer: http://www.multistock.be/mooie-tiffany-han...fst-p-3791.html

    Cookie: cookie_test=please_accept_for_session

     

    HTTP/1.x 404 Not Found

    Date: Sat, 05 Apr 2008 23:10:41 GMT

    Server: NOYB

    Last-Modified: Tue, 25 Mar 2008 19:23:31 GMT

    Etag: "df8006-35bf-e34072c0"

    Accept-Ranges: bytes

    Content-Length: 13759

    Connection: close

    Content-Type: text/html; charset=ISO-8859-1

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


  6. Hello,

     

    I am new here.

    I am using this nice contibution.

     

    I made the last version redirect the 404 to my custom 404 page ( set in .htacces ).

    But when i am in my 404 page the header is 200.

    I looked to the 404 page that is used in the contribution and here is the header 302 using HEAD-request ( and 200 using GET-request )

     

    Is it possible to set the header from my 404 page to a real 404?

    I check the headers in Opera DOMtools

    Her is my custom 404 page: http://www.multistock.be/notfound.html

     

    Regards, Steven Vandenbussche

×