pberg Posted July 10, 2009 Share Posted July 10, 2009 Hello everyone! I just installed v.3.0....but when i try to save my new newsletter I get this error message: Error: Newsletter module required What is wrong here now? Somebody please help :( Quote Link to comment Share on other sites More sharing options...
kornel76 Posted July 11, 2009 Share Posted July 11, 2009 (edited) Hello everyone! I just installed v.3.0....but when i try to save my new newsletter I get this error message: Error: Newsletter module required What is wrong here now? Somebody please help :( Some more error messages? Check your installation again. Edited July 11, 2009 by kornel76 Quote Link to comment Share on other sites More sharing options...
fhorvath Posted August 2, 2009 Share Posted August 2, 2009 Great contribution. Thanks. I am receiving the below Warning though for a file that had no modifications: Warning: reset() [function.reset]: Passed variable is not an array or object in /home2/doubled1/public_html/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home2/doubled1/public_html/admin/includes/classes/object_info.php on line 18 Do you know what the ??? Appreciate your help. Hi, I have the same problem, If I want to edit a newsletter created before. Szia Kornél, Nagyon jó a kiegészítés, grat. Egy problémám akadt: a fenti hibaüzenetet kapom, amikor egy létrehozott hírlevelet akarok szerkeszteni. Valamit rosszul installáltam? Előre is köszi, Üdv, HF Quote Link to comment Share on other sites More sharing options...
kornel76 Posted August 6, 2009 Share Posted August 6, 2009 (edited) Hello everyone! I just installed v.3.0....but when i try to save my new newsletter I get this error message: Error: Newsletter module required What is wrong here now? Somebody please help sad.gif I have tested on a stock v2.2 RC2 installation. The same result. You can comment out: if (empty($module)) { $messageStack->add(ERROR_NEWSLETTER_MODULE, 'error'); $newsletter_error = true; } Than it will work. Edited August 6, 2009 by kornel76 Quote Link to comment Share on other sites More sharing options...
kornel76 Posted August 6, 2009 Share Posted August 6, 2009 Hi, I have the same problem, If I want to edit a newsletter created before. Szia Kornél, Nagyon jó a kiegészítés, grat. Egy problémám akadt: a fenti hibaüzenetet kapom, amikor egy létrehozott hírlevelet akarok szerkeszteni. Valamit rosszul installáltam? Előre is köszi, Üdv, HF I cannot reproduce the problem. It works for me with a stock v2.2 RC2 and with my modified MS2, also with newsletter created before. If you have v2.2 RC2, you need, just some lines to comment out. (Read above!) Szia. Gőzöm sincs mi lehet az oka, mivel nem tudom előídézni ezt a hibát. Úgy érted, hogy a telepítés előtt készült hírlevelet nem tudod szerkeszteni? Üdv. Kornél Quote Link to comment Share on other sites More sharing options...
oldschoo Posted August 30, 2009 Share Posted August 30, 2009 I am installing version 3.0.1 and have a question. In the install directions, there is no instrutions on what to do in the admin/includes/functions/html_output.php file, but the file is in the attached files. Are there changes to be done to this admin/includes/functions/html_output.php file? I have already modified that file with other contritbutions, so please, I need to the exact install instructions for that file, if any. Quote Link to comment Share on other sites More sharing options...
nudylady Posted August 31, 2009 Share Posted August 31, 2009 (edited) . Edited August 31, 2009 by nudylady Quote Link to comment Share on other sites More sharing options...
kornel76 Posted August 31, 2009 Share Posted August 31, 2009 I am installing version 3.0.1 and have a question. In the install directions, there is no instrutions on what to do in the admin/includes/functions/html_output.php file, but the file is in the attached files. Are there changes to be done to this admin/includes/functions/html_output.php file? I have already modified that file with other contritbutions, so please, I need to the exact install instructions for that file, if any. This one you will find it in the update_to_3.0.txt file. Quote Link to comment Share on other sites More sharing options...
oldschoo Posted September 1, 2009 Share Posted September 1, 2009 This one you will find it in the update_to_3.0.txt file. Thank you. Is this part needed? Quote Link to comment Share on other sites More sharing options...
kornel76 Posted September 1, 2009 Share Posted September 1, 2009 Thank you. Is this part needed? If you want to have correctly resized images, then yes. Quote Link to comment Share on other sites More sharing options...
oldschoo Posted September 30, 2009 Share Posted September 30, 2009 I have the contribution newsletter unsubscribe. How can I use the unsubscribe link from that add on with this add on? That contribution say to change the following in admin/includes/modules/newsletters/newsletter.php from this code $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer')); $mimemessage->add_text($this->content); $mimemessage->build_message(); while ($mail = tep_db_fetch_array($mail_query)) { $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this->title); } to this code // Begin Unsubscribe hack $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer')); while ($mail = tep_db_fetch_array($mail_query)) { $mimemessage->add_html($this->content . TEXT_UNSUBSCRIBE . '<a href="' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '">' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '</a>'); $mimemessage->build_message(); $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this->title); } // End Unsubscribe hack I am assuming I change this code in admin/includes/mdules/newsletters/newssletter_products $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer', $messageId)); //$mimemessage->add_text($this->content); //$text = $this->text_content(); $mimemessage->add_html($this->html_content(), $this->text_content(), HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES); $mimemessage->build_message(); while ($mail = tep_db_fetch_array($mail_query)) { $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this->title); } Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
kornel76 Posted September 30, 2009 Share Posted September 30, 2009 I have the contribution newsletter unsubscribe. How can I use the unsubscribe link from that add on with this add on? That contribution say to change the following in admin/includes/modules/newsletters/newsletter.php from this code $mimemessage->add_html($this->html_content(), $this->text_content(), HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES); add this before: $this->html_content() $this->content . TEXT_UNSUBSCRIBE . '<a href="' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '">' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '</a>', It should looks like: $mimemessage->add_html($this->content . TEXT_UNSUBSCRIBE . '<a href="' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '">' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '</a>', $this->html_content(), $this->text_content(), HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES) Quote Link to comment Share on other sites More sharing options...
Guest Posted September 30, 2009 Share Posted September 30, 2009 I have an older v2.0 of the newsletter products contribution installed but with a few hacks around for a testsend function to send a single copy of the newsletter to site admin as a tester before doing the full send Well i have an issue with it, and i think it is related to a mysql5 / php5 upgrade we did earlier this year (newsletter hasnt been used since) the error i get is as follows: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') on p.products_id = s.products_id where pd.products_id = p.products_id and p.pr' at line 1 select p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, if(s.status, s.specials_new_products_price, NULL) as specials_price from ((products p, products_description pd) left join specials s) on p.products_id = s.products_id where pd.products_id = p.products_id and p.products_id in() and pd.language_id=1 help ;) Quote Link to comment Share on other sites More sharing options...
oldschoo Posted October 1, 2009 Share Posted October 1, 2009 Hi! I think you need just to change the line: $mimemessage->add_html($this->html_content(), $this->text_content(), HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES); add this before: $this->html_content() $this->content . TEXT_UNSUBSCRIBE . '<a href="' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '">' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '</a>', It should looks like: $mimemessage->add_html($this->content . TEXT_UNSUBSCRIBE . '<a href="' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '">' . HTTP_CATALOG_SERVER . DIR_WS_CATALOG . FILENAME_UNSUBSCRIBE . "?email=" . $mail['customers_email_address'] . '</a>', $this->html_content(), $this->text_content(), HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES) Thank you, I wll give it a try Quote Link to comment Share on other sites More sharing options...
loneparot Posted October 24, 2009 Share Posted October 24, 2009 please help my newsletter_product module and template is dispalaying now in my admin;s newsletters manager. but the products pictures are small and broken and imgetting error upon sending....... the error: Fatal error: Class 'email' not found in /home/www/bestsellersmobiles.org/online-store/admin/includes/modules/newsletters/newsletter_products.php on line 249 Newsletter Manager Sending E-Mail Please wait .. sending emails .. Please do not interrupt this process! i think its forever and nothing happend.. please help.. br, parot Quote Link to comment Share on other sites More sharing options...
kornel76 Posted October 24, 2009 Share Posted October 24, 2009 First, check the install instructions. Check your install, and test it also in a new shop. Quote Link to comment Share on other sites More sharing options...
loneparot Posted October 24, 2009 Share Posted October 24, 2009 please help my newsletter_product module and template is dispalaying now in my admin;s newsletters manager. but the products pictures are small and broken and imgetting error upon sending....... the error: Fatal error: Class 'email' not found in /home/www/bestsellersmobiles.org/online-store/admin/includes/modules/newsletters/newsletter_products.php on line 249 Newsletter Manager Sending E-Mail Please wait .. sending emails .. Please do not interrupt this process! i think its forever and nothing happend.. please help.. br, parot Quote Link to comment Share on other sites More sharing options...
loneparot Posted October 25, 2009 Share Posted October 25, 2009 please help my newsletter_product module and template is dispalaying now in my admin;s newsletters manager. but the products pictures are small and broken and imgetting error upon sending....... the error: Fatal error: Class 'email' not found in /home/www/bestsellersmobiles.org/online-store/admin/includes/modules/newsletters/newsletter_products.php on line 249 Newsletter Manager Sending E-Mail Please wait .. sending emails .. thid is my line 249 : $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer', $messageId)); Please do not interrupt this process! i think its forever and nothing happend.. please help.. br, parot Quote Link to comment Share on other sites More sharing options...
spooks Posted October 25, 2009 Share Posted October 25, 2009 Lookin at that it says to me you have failed to install correctly, go over the install again checking everything you do thoughally. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
loneparot Posted October 25, 2009 Share Posted October 25, 2009 (edited) Lookin at that it says to me you have failed to install correctly, go over the install again checking everything you do thoughally. thanks great sam do i have to import the sql again? thanks and take care br parot Edited October 25, 2009 by loneparot Quote Link to comment Share on other sites More sharing options...
spooks Posted October 25, 2009 Share Posted October 25, 2009 thanks great sam do i have to import the sql again? thanks and take care br parot No, once the entries r in your dbase do not want to repeat, as that may create duplicate entries there. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
loneparot Posted October 25, 2009 Share Posted October 25, 2009 No, once the entries r in your dbase do not want to repeat, as that may create duplicate entries there. its working now... with reinstalling. i dont know what happend but i just restore my configure.php backup but i have fck editor issue. so what i did was reverted my admin/categories.php to txt_area_firld.. now my product description can read codes.. ican copy paste a code from html. hahaha. ican even embbed youtube....thanks sam thanks and take care br, parot Quote Link to comment Share on other sites More sharing options...
twindaddy Posted November 14, 2009 Share Posted November 14, 2009 Hello, I have a problem with this contri. When i create an email and i want to see the preview i get this error: Parse error: syntax error, unexpected '%', expecting ']' in admin/includes/modules/newsletters/newsletter_products.php(179) : eval()'d code on line 1 Can someone help me to solve this? Thank you Twindaddy Quote Link to comment Share on other sites More sharing options...
kornel76 Posted November 14, 2009 Share Posted November 14, 2009 Hello, I have a problem with this contri. When i create an email and i want to see the preview i get this error: Parse error: syntax error, unexpected '%', expecting ']' in admin/includes/modules/newsletters/newsletter_products.php(179) : eval()'d code on line 1 Can someone help me to solve this? Thank you Twindaddy Can you post the file? Quote Link to comment Share on other sites More sharing options...
twindaddy Posted December 7, 2009 Share Posted December 7, 2009 Can you post the file? Thanks for youre help, and sorry for my late reaction. I solved the problem by myself, i selected something wrong. Butt, i stille have a question. I want to putt a background image in the newsletters, butt when i press the buton, nothing happened. I can not select an background image. I think wehn i press the button a screen must popup so i can select an image, butt nothing happened. Can you help me with this? Thank you and sorry again. regards Twindaddy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.