Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    May 2005
    Location
    Cheshire, UK
    Posts
    542
    Plugin Contributions
    3

    Default Staes Pulldown Menu

    I just started to convert a store to a UK configuration. I have added the UK zones based on the UKTemplate Mod and all the changes needed for admin.

    When I test on my local windows box I keep getting the error message:
    Please select a state from the States pull down menu.

    The pull down states menu does not appear until AFTER all the information is entered and I receive the above message, then I refresh the page and the pulldown appears.

    With the online site on a UNIX box, sometimes neither the pulldown nor the message appears, at other times it appears only after the information has been entered.

    Also, on the online version, I get an error message related to the email not being sent. On the offline version, the account gets created but the user is not logged in and cannot log in - just returns to the index page.

    Warning: strstr() [function.strstr]: Empty delimiter. in /home/yourstore/public_html/testshop/includes/functions/functions_email.php on line 91

    Warning: Cannot modify header information - headers already sent by (output started at /home/yourstore/public_html/testshop/includes/functions/functions_email.php:91) in /home/yourstore/public_html/testshop/includes/functions/functions_general.php on line 41

    The version is 1.3.1

    Any ideas - my head hurts?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Staes Pulldown Menu

    JollyJim,

    Are these upgrade installs form 1.2.x or fresh 1.3.x installs with fresh DB?

    I reccently ran into a multitude of problems with the upgrade situation. Which type are you attempting for this?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2005
    Location
    Cheshire, UK
    Posts
    542
    Plugin Contributions
    3

    Default Re: Staes Pulldown Menu

    Hi Kobra

    This is a fresh install of 1.3.1

    I used portions of the UKTemplate mod mysql to create the UK towns and cities, but other than this everything is 1.3.1 code. I even manually changed the admin pages line by line to make the text suitable for the UK so the code did not break.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Staes Pulldown Menu

    From my limited experience and knowledge of php;

    It is your first error that is the offender and this creates the 'headers already sent' error. At least when I get this I look first to the initial error.

    Was functions_email.php a file that was edited/changed? and/or is it this code for line#91 in your install?
    Code:
    while (strstr($email_text, $zen_fix_current)) $email_text = str_replace($zen_fix_current, $zen_fix_replace, $email_text);
    Or could it be another file that might have been altered making an out of place call to the above?

    I know that this is not the first time that you have setup 1.3.x...So you have most likely verified the MySQL, php, Apache etc on the host and your local has probably seen many installs.

    Am I correct in assuming that the host install was setup up locally and copied to the host re-setting the required pathing & DB entries?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    May 2005
    Location
    Cheshire, UK
    Posts
    542
    Plugin Contributions
    3

    Default Re: Staes Pulldown Menu

    Hi Kobra

    Thanks for taking the time to reply.

    Yes, you are correct in that the upload was from the local server and the config files changed. I tested the local server with a fresh install of Z1.3.1 and got the same login issues when creating an account without any mods installed. This is on an Apache/XP Wamp.

    So I dumped the original admin files from the default ZC install up to the Unix Box - and trashed the admin section totally. I think this is something to do with the Admin Profiles mod.

    So now I am creating a default Zencart install in a local directory ready for upload. Then I am creating upload folders for each mod (e.g. the templates and language files etc), then I am uploading one by one until everything is online in a fresh directory.

    The email_functions.php has not been modified as far as I can remember but you may be right - there is most likely something arguing with another file somewhere.

    Ho Hum - looks like a long night. At least I will be able to isolate the problem (hopefully) LOL

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Staes Pulldown Menu

    I tested the local server with a fresh install of Z1.3.1 and got the same login issues when creating an account without any mods installed.
    If I understand this correctly, this is bothersome...a bone stock ZenCart from original fileset with no alterations on a fresh DB and still got the bad behaviour???

    Have you triple checked the unpacked distro? I have this on my local and find that in the heat of some excercise that I inadvertantly grab a file that I know(or believe) to be pristine and promptly forget that I might have also saved the changes to my distro set...next time I use for an install woe is me...and I just don't learn...
    Zen-Venom Get Bitten

  7. #7
    Join Date
    May 2005
    Location
    Cheshire, UK
    Posts
    542
    Plugin Contributions
    3

    Default Re: Staes Pulldown Menu

    Quote Originally Posted by kobra
    If I understand this correctly, this is bothersome...a bone stock ZenCart from original fileset with no alterations on a fresh DB and still got the bad behaviour???

    Have you triple checked the unpacked distro? I have this on my local and find that in the heat of some excercise that I inadvertantly grab a file that I know(or believe) to be pristine and promptly forget that I might have also saved the changes to my distro set...next time I use for an install woe is me...and I just don't learn...
    Bothersome is a bit of an under statement. You should have heard me swearing at the computer earlier. I was taken with rage like a scene from Fawlty Towers. Even threatened to thrash it with a wet tissue - all to no avail.

    Nope - this is a fresh download of the stock install for ZC. It simply refuses to log in when I create an account. But to satisfy myself I am uploading the installation to the UNIX box and starting over with it.

    Don't you just love it when you have everything set up nicely and it falls over for no reason - damn - I love this job :)

    I will let you know if the new install works - most likely I have missed out a ; somewhere on a file and this will be the problem LOL

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Staes Pulldown Menu

    Please do keep me informed...

    and it is always that head smaker that gets ya. You thought that we were all born with flat foreheads...did ya??
    Zen-Venom Get Bitten

  9. #9
    Join Date
    May 2005
    Location
    Cheshire, UK
    Posts
    542
    Plugin Contributions
    3

    Default Re: Staes Pulldown Menu

    Quote Originally Posted by kobra
    Please do keep me informed...

    and it is always that head smaker that gets ya. You thought that we were all born with flat foreheads...did ya??
    ...and here is me thinking it was because my mother kept hitting me in the face with a frying pan...

    ....well damn! You learn summat new every day!

  10. #10
    Join Date
    May 2005
    Location
    Cheshire, UK
    Posts
    542
    Plugin Contributions
    3

    Default Re: States Pulldown Menu

    Well that did not work. Stock install of ZC and no products. Create an account and exactly the same problems.

    But The email is actually getting sent despite displaying the error message in the browser.

    So, it is not any of the add-ons. The only changes are the template mods (which don't include the create account page yet) and the Sales Report 1.4.

    Sidebox Login Mod - installed
    Sales Report 1.4 Installed
    Column Grid Layout Installed

    Added UK config for towns and villages modded from the UKTemplate Mod.

    Other than this - stock install.

    Aw NUTZ!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 Customizing attribute format in pulldown menu
    By jerrygarciuh in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 Aug 2014, 12:27 PM
  2. How do i get a category pulldown menu????
    By paddy_uk2007 in forum General Questions
    Replies: 22
    Last Post: 7 Nov 2010, 04:21 PM
  3. Flyout or Pulldown Menu Needed - How?
    By bekinky in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Feb 2007, 07:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg