Latest News: (loading..)

Eim2

Members
  • Content count

    75
  • Joined

  • Last visited

About Eim2

Profile Information

  • Real Name
    david
  • Gender
    Not Telling
  1. Thank you Gergely for replying. Pdf invoices are only sent out when needed. checkout_process.php actually shall not be used. (on my osc 2.3.4, standard, I can't find tp_email_checkout_process.php) My question should have been: With the new class in email.php, how to automatically attach pdf invoices in the order notifications mails when orders are processed by myself from the admin side ? Present code in admin/orders.php: Do you mean the tep_mail_pdf_attach function should not be called from general.php but could be modified and set in orders.php to include the attachment code (build message code) ? It would this way put the values of ( $file, $filetype, $filename) into the email class add_attachment function ? I have found an example working with the new email class on how to send attachments to customers from admin/mail.php But how to do the changes in orders.php ... ? I am sorry but I have no knowledge in function building.
  2. Hello, I installed latest phpmailer together with email classes from Gergely's github sumbits. It works really very nicely from all sides of my website even with file attachements defined in language files. I just cant figure out how to dynamically attach the pdf invoices in the order processing mails as before the changes with sendmail. I use a function called from orders.php named 'tep_mail_pdf_attach' in general.php. As I have very few php knowledge I am, it seems, absolutely unable to retrieve the pdf file path and name. When I hard code in email.php like: $my_path = "path_to_file/filename.php" and $phpMail->AddAttachment($my_path); the attachment is sent out seemlessly but of course the invoice changes with each order ... As I understand the build_message function will not work with the new email class but in general.php that function is needed: function tep_mail_pdf_attach($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address, $file, $filename, $filetype) { if (SEND_EMAILS != 'true') return false; $message = new email(array('X-Mailer: osCommerce')); $text = strip_tags($email_text); if (email_USE_HTML == 'true') { $message->add_html($text); } else { $message->add_text($text); } $attachment = fread(fopen($file, "r"), filesize($file)); $message->add_attachment($attachment, $filename, $filetype); $message->build_message(); $message->send($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject); } Could someone help out even if the problem certainly is in adapting the invoice pdf contrib's function, it would be nice. Thanks a lot in advance. David
  3. @@Jack_mcs Hello Jack, I ll check further and probably un- and reinstall eventually. For the admin color change, I guess it's because admin is now recognized first as bot without any ID ("No Bot ID") and then as admin. Really strange that it happened all of a sudden. One more I noticed. The referrer IPs drop down list is empty meaning no ip to select on the reports page whereas all other options show the full list of ips in the drop downs (Ip count, path tracker etc) Thanks a lot anyways. Regards
  4. @@Jack_mcs You say it, a non issue. No problems at all as indeed Google sees the files without errors and with a little tweaking through unix sed the missing special characters are added easily in no time. Thanks a lot
  5. Hello Jack, V.1.6 is the first version of View Counter I installed. The block countries option never worked as far I could test as per your todays instructions to eLara I tried the above suggested change in includes/modules/view_counter_country_block.php but the blocked_countrys_debug.txt is not created. I repaired the session table as suggested in previous posts, that did not help either. Also I noticed all of a sudden since about 3 days that the admin IP color changed to bot's color and did not show anymore as admin but as "NO Bot ID" in the Monitor reports Would you have any idea?
  6. @@Jack_mcs Sorry, sure the sitemap files, while I was absent, were chmoded to prevent them from being modified meantime. I can send the creation debug output, but except for the parent categories in sitemapcategories.xml without special caracters, all files are created fine, just they cant be read from a browser. I will try above comment by dsolutions in catalog/googlesitemap/index.php with: $domainArray[] = HTTPS_SERVER . DIR_WS_HTTP_CATALOG; as my shop is all https. Would be fine if that would be the only needed change.
  7. Hello Jack, Here it is the same as with IRIN . With the last 2 versions, we have to look at the source of the page to see it filled with either categories or products, i.e CTRL+U otherwise there is follwing message: "Google Sitemap http://aaabbbccc.xy/sitemapcategories.xml Number of sitemaps in this Google sitemap index: 0 Click on the table headers to change sorting." Of course with the source there is no sort options ... .-) I am using this addon since 2009 without any major problems except for special characters. I use a text editor to add them before sumbitting the fields to google, I thought that was now resolved but on problem remains : Special characters are ommited in parent categories urls when in Ultimate SEO URLS the option "Add category parent to begining of URLs?" is set to true.
  8. Hello @@Jack_mcs This is actually the output for no subdomain with http://wwww.example.com : Opening /home/www/www.example.com/htdocs/sitemapproducts.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemapproducts.xmlGenerated Google Product Sitemap SuccessfullyOpening /home/www/www.example.com/htdocs/sitemapcategories.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemapcategories.xmlGenerated Google Category Sitemap SuccessfullyOpening /home/www/www.example.com/htdocs/sitemapimages.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemapimages.xmlGenerated Google Images Sitemap SuccessfullyOpening /home/www/www.example.com/htdocs/sitemapmanufacturers.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemapmanufacturers.xmlGenerated Google Manufacturers Sitemap SuccessfullyOpening /home/www/www.example.com/htdocs/sitemapindex.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemapindex.xmlGenerated Google Sitemap Index SuccessfullyCONGRATULATIONS! All files generated successfully.If you have not already submitted the sitemap index to Google click the link below.Before you do I HIGHLY recommend that you view the XML files to make sure the data is correct.http://www.google.com/webmasters/sitemaps/ping?sitemap=http%3A%2F%2Fwww.example.com%2Fsitemapindex.xmlFor your convenience here is the CRON command for your site: php /home/www/www.example.com/htdocs/googlesitemap/index.phpThe following should be added to your Google and Bing Webmaster Tools accounts.They only require the index to be submitted but listing all of them will make it easier to troubleshoot problems. sitemap: http://www.example.com/sitemapindex.xml sitemap: http://www.example.com/sitemap_mobileindex.xmlIf you have a robots.txt file (located in the root directory of your site), add this to the end of it: sitemap: http://www.example.com/sitemapindex.xml sitemap: http://www.example.com/sitemap_mobileindex.xmlHere are the map files for the URL http://www.example.com/sitemapindex.xmlsitemapproducts.xmlsitemapcategories.xmlsitemapimages.xmlsitemapmanufacturers.xml Opening /home/www/www.example.com/htdocs/sitemap_mobileproducts.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemap_mobileproducts.xmlGenerated Google Product Sitemap SuccessfullyOpening /home/www/www.example.com/htdocs/sitemap_mobilecategories.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemap_mobilecategories.xmlGenerated Google Category Sitemap SuccessfullyOpening /home/www/www.example.com/htdocs/sitemap_mobileimages.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemap_mobileimages.xmlGenerated Google Images Sitemap SuccessfullyOpening /home/www/www.example.com/htdocs/sitemap_mobilemanufacturers.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemap_mobilemanufacturers.xmlGenerated Google Manufacturers Sitemap SuccessfullyOpening /home/www/www.example.com/htdocs/sitemap_mobileindex.xmlFS_CAT /home/www/www.example.com/htdocs/Server http://www.example.comSave Path /home/www/www.example.com/htdocs/WS_CAT /Write /home/www/www.example.com/htdocs/sitemap_mobileindex.xmlGenerated Google Sitemap Index SuccessfullyHere are the map files for the URL http://www.example.com/sitemap_mobileindex.xmlsitemap_mobileproducts.xmlsitemap_mobilecategories.xmlsitemap_mobileimages.xmlsitemap_mobilemanufacturers.xml Completed!
  9. By turning Ultimate seo url off I get this output with subdomain http://mobile.example.comnd protocol N.B. I of course replace .htaccess and configure.php + clear the seo url caches during switching from one test with or without subdomain: Opening /sitemapproducts.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Product Sitemap Generation FAILED!Opening /sitemapcategories.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Category Sitemap Generation FAILED!Opening /sitemapimages.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Images Sitemap Generation FAILED!Opening /sitemapmanufacturers.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Manufacturers Sitemap Generation FAILED!Opening /sitemapindex.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Sitemap Index Generation FAILED!Array( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 786 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 94 ) [IMAGES] => Array ( [STATUS] => success [NUM_ROWS] => 786 ) [MANUFACTURERS] => Array ( [STATUS] => success [NUM_ROWS] => 6 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemapimages.xml [status] => failure [file_exists] => false ) [3] => Array ( [file] => /sitemapmanufacturers.xml [status] => failure [file_exists] => false ) [4] => Array ( [file] => /sitemapindex.xml [status] => failure [file_exists] => false ) )) Opening /sitemap_mobileproducts.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Product Sitemap Generation FAILED!Opening /sitemap_mobilecategories.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Category Sitemap Generation FAILED!Opening /sitemap_mobileimages.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Images Sitemap Generation FAILED!Opening /sitemap_mobilemanufacturers.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Manufacturers Sitemap Generation FAILED!Opening /sitemap_mobileindex.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Sitemap Index Generation FAILED!Array( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 786 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 94 ) [IMAGES] => Array ( [STATUS] => success [NUM_ROWS] => 786 ) [MANUFACTURERS] => Array ( [STATUS] => success [NUM_ROWS] => 6 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemap_mobileproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemap_mobilecategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemap_mobileimages.xml [status] => failure [file_exists] => false ) [3] => Array ( [file] => /sitemap_mobilemanufacturers.xml [status] => failure [file_exists] => false ) [4] => Array ( [file] => /sitemap_mobileindex.xml [status] => failure [file_exists] => false ) )) Completed!
  10. Hello @@Jack_mcs Yes all enabled, here for example, for a standard, not subdomain install. After that one also is included the output for the subdomain with mobile.example.com in the sitemap admin configs where all files fail actually to be generated: Opening /home/AABB/htdocs/sitemapproducts.xml FS_CAT /home/AABB/htdocs/ Server http://192.168.1.50 Save Path /home/AABB/htdocs/ WS_CAT / Write /home/AABB/htdocs/sitemapproducts.xml Generated Google Product Sitemap Successfully Opening /home/AABB/htdocs/sitemapcategories.xml FS_CAT /home/AABB/htdocs/ Server http://192.168.1.50 Save Path /home/AABB/htdocs/ WS_CAT / Write /home/AABB/htdocs/sitemapcategories.xml Generated Google Category Sitemap Successfully Opening /home/AABB/htdocs/sitemapmanufacturers.xml FS_CAT /home/AABB/htdocs/ Server http://192.168.1.50 Save Path /home/AABB/htdocs/ WS_CAT / Write /home/AABB/htdocs/sitemapmanufacturers.xml Generated Google Manufacturers Sitemap Successfully Opening /home/AABB/htdocs/sitemapindex.xml FS_CAT /home/AABB/htdocs/ Server http://192.168.1.50 Save Path /home/AABB/htdocs/ WS_CAT / Write /home/AABB/htdocs/sitemapindex.xml Generated Google Sitemap Index Successfully CONGRATULATIONS! All files generated successfully. If you have not already submitted the sitemap index to Google click the link below. Before you do I HIGHLY recommend that you view the XML files to make sure the data is correct. http://www.google.com/webmasters/sitemaps/ping?sitemap=http%3A%2F%2F192.168.1.50%2Fsitemapindex.xml For your convenience here is the CRON command for your site: php /home/AABB/htdocs/googlesitemap/index.php The following should be added to your Google and Bing Webmaster Tools accounts. They only require the index to be submitted but listing all of them will make it easier to troubleshoot problems. sitemap: http://192.168.1.50/sitemapindex.xml sitemap: http://192.168.1.50/sitemap_mobileindex.xml If you have a robots.txt file (located in the root directory of your site), add this to the end of it: sitemap: http://192.168.1.50/sitemapindex.xml sitemap: http://192.168.1.50/sitemap_mobileindex.xml Here are the map files for the URL http://192.168.1.50/ sitemapindex.xml sitemapproducts.xml sitemapcategories.xml sitemapmanufacturers.xml Opening /home/AABB/htdocs/sitemap_mobileproducts.xml FS_CAT /home/AABB/htdocs/ Server http://192.168.1.50 Save Path /home/AABB/htdocs/ WS_CAT / Write /home/AABB/htdocs/sitemap_mobileproducts.xml Generated Google Product Sitemap Successfully Opening /home/AABB/htdocs/sitemap_mobilecategories.xml FS_CAT /home/AABB/htdocs/ Server http://192.168.1.50 Save Path /home/AABB/htdocs/ WS_CAT / Write /home/AABB/htdocs/sitemap_mobilecategories.xml Generated Google Category Sitemap Successfully Opening /home/AABB/htdocs/sitemap_mobilemanufacturers.xml FS_CAT /home/AABB/htdocs/ Server http://192.168.1.50 Save Path /home/AABB/htdocs/ WS_CAT / Write /home/AABB/htdocs/sitemap_mobilemanufacturers.xml Generated Google Manufacturers Sitemap Successfully Opening /home/AABB/htdocs/sitemap_mobileindex.xml FS_CAT /home/AABB/htdocs/ Server http://192.168.1.50 Save Path /home/AABB/htdocs/ WS_CAT / Write /home/AABB/htdocs/sitemap_mobileindex.xml Generated Google Sitemap Index Successfully Here are the map files for the URL http://192.168.1.50/ sitemap_mobileindex.xml sitemap_mobileproducts.xml sitemap_mobilecategories.xml sitemap_mobilemanufacturers.xml This is generated for mobile categories for the standard no subdomain install <url> <loc>http://192.168.1.50/actions-c-100.html</loc> <mobile:mobile/> <lastmod>2009-01-09</lastmod> <changefreq>weekly</changefreq> <priority>0.5</priority> </url> SUBDOMAIN NOW as said mobile.example.com in the first place Opening /sitemapproducts.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Product Sitemap Generation FAILED!Opening /sitemapcategories.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Category Sitemap Generation FAILED!Opening /sitemapimages.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Images Sitemap Generation FAILED!Opening /sitemapmanufacturers.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Manufacturers Sitemap Generation FAILED!Opening /sitemapindex.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Sitemap Index Generation FAILED!Array( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 786 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 94 ) [IMAGES] => Array ( [STATUS] => success [NUM_ROWS] => 786 ) [MANUFACTURERS] => Array ( [STATUS] => success [NUM_ROWS] => 6 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemapimages.xml [status] => failure [file_exists] => false ) [3] => Array ( [file] => /sitemapmanufacturers.xml [status] => failure [file_exists] => false ) [4] => Array ( [file] => /sitemapindex.xml [status] => failure [file_exists] => false ) )) Opening /sitemap_mobileproducts.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Product Sitemap Generation FAILED!Opening /sitemap_mobilecategories.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Category Sitemap Generation FAILED!Opening /sitemap_mobileimages.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Images Sitemap Generation FAILED!Opening /sitemap_mobilemanufacturers.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Manufacturers Sitemap Generation FAILED!Opening /sitemap_mobileindex.xmlFS_CAT /Server http://www.example.comSave Path /WS_CAT /ERROR: Google Sitemap Index Generation FAILED!Array( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 786 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 94 ) [IMAGES] => Array ( [STATUS] => success [NUM_ROWS] => 786 ) [MANUFACTURERS] => Array ( [STATUS] => success [NUM_ROWS] => 6 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemap_mobileproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemap_mobilecategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemap_mobileimages.xml [status] => failure [file_exists] => false ) [3] => Array ( [file] => /sitemap_mobilemanufacturers.xml [status] => failure [file_exists] => false ) [4] => Array ( [file] => /sitemap_mobileindex.xml [status] => failure [file_exists] => false ) ))
  11. Hello @@Jack_mcs I applied the mods as suggested on previous post on sitemap.class.php v1.8 and tested it for a mobile installation in /home/AABB/htdocs/mobile as main shop subdirectory per iOSC 7.5.9 instructions. However be it with subdomain or standard config, sitemap urls are not created as expected (like point 1+2 below) as "mobile" appears nowhere: 1. mobile.example.com 2. www.example.com/mobile/ (BTW in admin sitemap config is it possible to put this url as domain) 3. urls are not rewritten -mc-xxx.html, -mp-yyy.html, -mm-zzz.html in the xml files but instead -c-xxx.html, -p-yyy.html, -m-zzz.html N.B Classic version of the site urls are all created right and the ouput short for all is: CONGRATULATIONS! All files generated successfully. Further I have following errors in logs while creating the sitemap files: Constant TABLE_GRADUATED_PRICING already defined in /home/AABB/htdocs/includes/database_tables.php on line 83 Constant TABLE_HEADERTAGS_SILO already defined in /home/AABB/htdocs/includes/database_tables.php on line 116 Constant TABLE_HEADERTAGS_CACHE already defined in /home/AABB/htdocs/includes/database_tables.php on line 119 Constant MODULE_PAYMENT_CHTRANSFER_SORTCODE already defined in /home/AABB/htdocs/googlesitemap/index.php on line 43 Constant MODULE_PAYMENT_CHTRANSFER_SORTCODE already defined in /home/AABB/htdocs/googlesitemap/index.php on line 43 Constant SHOW_SEARCH_BY_PRICE_RANGE already defined in /home/AABB/htdocs/googlesitemap/index.php on line 43 Use of undefined constant DIR_WS_HTTP_CATALOG - assumed 'DIR_WS_HTTP_CATALOG' in /home/AABB/htdocs/googlesitemap/index.php on line 33 It would be great if we could fix this as it seems having sitemaps for mobile seems quiet recommended after reading your last comments on IOSC forum . Best regards and many thanks David
  12. Hello @@raiwa You are right, I ll have to change those "MP" in the product names. Thanks a lot Good night & kind regards
  13. Actually I tested on both Desktop and mobile Online and local :( Same thing but only some products ! It say on IE HTTP 410, for example you can try product ID 3749
  14. Hello @@raiwa I just noticed, the site being online, the link is at the bottom in the footer "Site mobile", that on iPhone some products, not all, are redirected to "HTTP error, 0 unknown error" when I clic on "Classic View" . I cleared the seo url cache and also applied the 7.5.8r2 redirect patch btw, but still the problem remains. Would you have an idea why ? Best regards
  15. Hello, For information tested on 2.2rc2a on PHP 5.3.29: Last Ultimate SEO Roaddoctor seo.class seems to break Header Tags option to "Enable use Header Tags SEO as name" in urls. When switched on no rewrites occur neither on categories nor products. result = -c-xx-yy.html or -p-xx-yy.html without any names. Further this error appear in logs: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /aaa/bbb/htdocs/includes/classes/seo.class.php on line 152 regards