Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Text Box Dissapears

Locked

Started by welshop_com on 18 Aug 2006, 5:38 PM · Views: 3,632

Results 21 to 25 of 25
This thread is locked. New replies are disabled.
23 Sep 2006, 3:44 AM
#21
tylerd213 avatar

tylerd213

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Text Box Dissapears

I can also post any files you need, if you would like

(sorry for double posting, it wont let me edit my previous)

23 Sep 2006, 3:47 AM
#22
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Text Box Dissapears

I'd recommend using something like Beyond Compare from scootersoftware.com and comparing a clean Zen Cart to your site and see if there is something missing from the code ...

This has been built into Zen Cart for a long time and to suddenly not work I'd have to say a file has been altered from the original code and it is not picking up the setting properly ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

23 Sep 2006, 4:03 AM
#23
tylerd213 avatar

tylerd213

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Re: Text Box Dissapears

Okay, I can try that. Could you possibly list the files associated with the Text Attributes because there are an awful lot of files I would have to go through haha

23 Sep 2006, 8:21 PM
#24
tylerd213 avatar

tylerd213

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Re: Text Box Dissapears

Okay I checked every single file and they are all the same (besides my overrides) and it still is not working. BUT I think im on to something. One file was different which i thought would have solved my problem but it didnt seem to work It was the functions_lookup.php file and this is what the part of the file that was different:

// text required validation
    if (ereg('^txt_', $option)) {
      $check_attributes = $db->Execute("select attributes_display_only, attributes_required from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id='" . (int)$product_id . "' and options_id='" . (int)ereg_replace('txt_', '', $option) . "' and options_values_id='0'");
// text cannot be blank
      if ($check_attributes->fields['attributes_required'] == '1' and empty($value)) {
        $check_valid = false;
      }
    }

    return $check_valid;

-- That is the original code so i replaced the file but it still doesnt work. Is there something wrong with the above code still?

Thanks for the help so far

25 Sep 2006, 1:19 AM
#25
tylerd213 avatar

tylerd213

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Re: Text Box Dissapears

Okay finally figured it out. It was the Ty's Package Tracker addon

Once you execute the SQL for it, it completely messes up the attributes. Why, im not sure but if anyone knows please let me know cause i loved that addon!