Jump to content

fichtelzwerg

Members
  • Content count

    2
  • Joined

  • Last visited

  1. fichtelzwerg

    [Contribution] Availability

    back with an update: ok now i got the TABLE_HEADING_AVAILABILITY part fixed by adding the lines in the german file manually. still i get the error Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web35/html/shoptest/catalog/admin/includes/functions/database.php on line 99 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web35/html/shoptest/catalog/admin/includes/functions/database.php:99) in /srv/www/htdocs/web35/html/shoptest/catalog/admin/includes/functions/general.php on line 22 when i insert a new option. i think i didnt change anything in those two files though. it seems to work fine anyway but i am always curious when mistakes occur. any ideas? thanks in advance and congrats on this nice and handy contribution btw...two thumbs up! cheers jan
  2. fichtelzwerg

    [Contribution] Availability

    hi im having a similar problem as the other guy. i have setup everything and without problems. then i tried to insert a new option for another language. i get this when i hit insert: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web35/html/shoptest/catalog/admin/includes/functions/database.php on line 99 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web35/html/shoptest/catalog/admin/includes/functions/database.php:99) in /srv/www/htdocs/web35/html/shoptest/catalog/admin/includes/functions/general.php on line 22 when i hit the back button or reload the options page the new entry appears and looks the way it should. now when i go into my shop it works in english perfectly... example: Availability: 2 in stock. when i change the language its faulty... example: TABLE_HEADING_AVAILABILITY 2 vorrätig (whereas "vorrätig" means "in stock") so what did i do wrong probably just one little tiny character to change/add/subtract i suppose, but i'm relatively new to php and wasnt able to find it. i also tried to change the updated codepart you posted but that didnt help either :( help would be greatly appreciated thanks in advance jan
×