Jump to content

discxpress

Members
  • Content count

    844
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by discxpress

  1. discxpress

    Google XML Sitemap SEO

    Jack, Thanks for your reply. I checked the permissions of all sitemap files and they're set to 777, the same as the images folder. You mentioned my host. The last time my site was that size, I was kicked off because it was consuming too many resources. Now I'm on a dedicated server. When I was on a shared server, the sitemaps generated with no problem. So maybe it's how the server is setup. What can I check on my server that would cause this problem? Thanks for your time.
  2. discxpress

    Google XML Sitemap SEO

    Hi Jack, The latest version worked fine until I added a couple hundred thousand products :- . I guess my problem comes when the script has to generate multiple sitemapproducts.xml files. The below snippet is from the referenced file, sitemap.class.php: if (GOOGLE_XML_SITEMAP_SHOW_DIAGNOSTIC == 'true') echo 'Opening '.$filename. '<br>FS_CAT '.DIR_FS_CATALOG. '<br>Server ' . HTTP_SERVER . '<br>Save Path '. $this->savepath . '<br>WS_CAT '. DIR_WS_HTTP_CATALOG.' <br>'; if ($fp = fopen($filename, 'w+')){ echo 'Write '.$filename.'<br>'; fwrite($fp, $data); fclose($fp); $this->debug['SAVE_FILE_XML'][] = array('file' => $filename, 'status' => 'success', 'file_exists' => 'true'); return true; } else { $file_check = file_exists($filename) ? 'true' : 'false'; $this->debug['SAVE_FILE_XML'][] = array('file' => $filename, 'status' => 'failure', 'file_exists' => $file_check); return false; } break; Below is a sample of the output in the error log: PHP Warning: fopen(/var/www/html/sitemapproducts1.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /var/www/html/googlesitemap/sitemap.class.php on line 344 File does not exist: /var/www/html/sitemapindex.html PHP Warning: fopen(/var/www/html/sitemapproducts2.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /var/www/html/googlesitemap/sitemap.class.php on line 344 PHP Warning: fopen(/var/www/html/sitemapproducts3.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /var/www/html/googlesitemap/sitemap.class.php on line 344 PHP Warning: fopen(/var/www/html/sitemapproducts4.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /var/www/html/googlesitemap/sitemap.class.php on line 344 I've tried adjusting the resources in the php.ini file because I was getting 'exhaustion' errors but the above errors persist even on the alternate state. I searched this thread but don't really understand the solutions others had. Thanks for your help.
  3. discxpress

    OSC-Affiliate

    Hello, I've gotten this to fit in version 2.3.1! Here's what I did: 1. followed a tutorial by kymation http://forums.oscommerce.com/topic/368538-guide-to-converting-addons-from-22x-to-23x/ 2. recoded admin/includes/modules/boxes/affiliates.php 3. then correct the 'TABLE_AFFILIATE doesn't exist' database errors. Several files in admin produce that error. In those files change all instances of TABLE_AFFILIATE to: TABLE_AFFILIATE_AFFILIATE All that I believe that needs to be done is to recode the buttons and test functioning. Also, an operational manual needs to be written so shop owners can operate this. I think the right contributors can really debug this mod. Thanks for reading
  4. discxpress

    Add More Fields

    Jack, Thanks for the reply. Wow, that was my misunderstanding! Thanks for clearing that up. That's where I'm having the difficulty. I'm guessing it's a problem in the admin/categories.php file. Thanks for your help
  5. discxpress

    Add More Fields

    Hello Jack, I thought the contribution was working properly until I tried to: (1) When trying to delete a field, I get this error: 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 '%%+PLATFORM%%-' at line 1 alter table products_description drop %%+PLATFORM%%- (2) When trying to add a product manually, I get this error: 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 '%%+FORMAT%%-, %%+PLATFORM%%-, products_id, language_id) values ('Young Jeezy TM:' at line 1 insert into products_description (products_name, products_description, products_url, products_head_title_tag, products_head_desc_tag, products_head_keywords_tag, %%+FORMAT%%-, %%+PLATFORM%%-, products_id, language_id) values ('Young Jeezy TM:103', 'lalala', '', 'Young Jeezy TM:103', 'Young Jeezy TM:103', 'Young Jeezy TM:103', '', '', '32', '1') Also, I can't create a new category. Thanks
  6. discxpress

    Article Manager v1.0

    Jack, Is it possible to generate a xml site map of articles? I was wondering for seo purposes. Im sure with coding it can be done. That would be a great feature to add when you have the time. :) NOTE: I forgot to search first, found the answer.
  7. discxpress

    Add More Fields

    Jack, I noticed that some were having difficuty installing this contrib with Header Tags code. I found it easier to use the admin/categories.php in this package and then 'weave in' the Header Tags edits. Although there were a couple more minor edits that had to bemade but it was alot less pain than the other way. I hope this help someone.
  8. discxpress

    Article Manager v1.0

    Nevermind, I figured it out. In includes/filenames.php I placed the following code along with the rest of the Articles Manager code: define('FILENAME_ARTICLE_BLOG', 'article_blog.php'); It's working now :)
  9. discxpress

    Article Manager v1.0

    [Fri Dec 16 03:58:40 2011] [error] [client ] PHP Warning: require(includes/languages/english/FILENAME_ARTICLE_BLOG) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /var/www/html/article_blog.php on line 15 [Fri Dec 16 03:58:40 2011] [error] [client ] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/english/FILENAME_ARTICLE_BLOG' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/article_blog.php on line 15 When I placed www.discxpress.com/article_blog.php in my browser, I get a 500 error. I checked for includes/languages/english/FILENAME_ARTICLE_BLOG and it's there. Here's the code for line 15 in article_blog.php: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ARTICLE_BLOG); Thanks for reading
  10. Hello, This is a great contribution because most customers will have a facebook account. Has anyone successfully integrated this into OSCommerce v2.3? If so, please help me with login.php, create_account.php and logout.php. There are different because in OSC 2.3 <div>s are used instead of <table> Thanks for any help.
  11. Hello, I just installed TMS on my website. I want to display product information like UPC, platform, rating all under a tab called "Notes". I've tried several different approach including echo statements with no success. Thanks for your help.
  12. discxpress

    Header Tags SEO

    Hello Jack, Problem solved, I think. In Extra Product Fields(EPF) there is a file named template_top_extra_fields.php that function similar to te mplate_top.php. So I placed the Header Tags code in that file and the meta tags appeared on the product pages. However, the EPF code produces meta tags also. Here's an example: <!-- begin Extra Product Fields //--> <meta name="DCTERMS.modified" content ="2011-07-05"> <title>Disc Xpress: 826056008025: Red Square-We Come In Waves CD</title> <meta name="Description" content="826056008025: Red Square-We Come In Waves CD"> <!-- end Extra Product Fields //--> In your opinion, would search engines have a problem with too many and/or duplicate meta tags? If so, I would have to make adjustment to prevent being penalized. Thanks.
  13. discxpress

    Header Tags SEO

    Hello Jack, I'm trying to figure out what's preventing the meta tags from appearing on the product information pages. When viewing the source, I see meta tag with Extra Product Fields tags around them. When I look at that contribution, I can't find where the meta tags are affected? Have you been presented with this issue before? Thanks for your help.
  14. discxpress

    Optional Related Products, Version 4.0

    Question. Is it possible to create some extra fields in Easy Populate so relations can be established by spreadsheet? I have a large shop and it would seem easier to locate in excel and match the items. Or better yet match the products to all products in a certain category. I know that option was available in the other cross sell contributions for version 2.2. This is a great contribution and that's my idea for making it greater. If I was good at php I would attempt that feat myself. Thanks for your time.
  15. discxpress

    Optional Related Products, Version 4.0

    Yes, download it here: http://addons.oscommerce.com/info/8057
  16. Hello, I would like to get rid of the session ID but still create a session. The session ID appends itself to the end of the url which is a security risk. Thanks for any help.
  17. discxpress

    How to get rid of session ID's for OSC 2.3.1

    I found the solution. I've already had the latest version of Ultimate SEO Urls by Chemo installed. What I needed to do was go to Admin>>Sessions>>Force Cookie Use=True. I hope this helps someone else. Take care.
  18. discxpress

    How to get rid of session ID's for OSC 2.3.1

    Thanks for the fast reply. I'll look into it.
  19. discxpress

    Need shipping module

    Maybe give the UK its own shipping module. The word "United" may have something to do with the mixup. Or change the United Kingdom to Great Britain. Im not sure what it would take to make that change. I remember shipping items there and I couldn't make shipping labels using United Kingdom. I hope that helps
  20. discxpress

    Need shipping module

    Kenkja, I would suggest to adhere to the case sensitivity. If its all caps then replace with all caps. I wish you luck.
  21. discxpress

    Need shipping module

    Hello, Im not familiar with table rates. All I can say is to backup your original files and give it a try. Search the forums for a discussion about table rates. Sorry I couldn't help.
  22. discxpress

    Need shipping module

    EddieO, Since you're new to this, I recommend having more than one copy of fresh files of OSCommerce version 2.3.1. The golden rule is to have a backup of the files you've modified. I must ask how many shipping methods does your business require. Since I sale media, my flat rates are low. I use standard, 3-day, expedited, Canada & Mexico and international. I used the same process I described to create all those. I'm not familiar with the solution Chris provides above but my guess would be create multiple international shipping methods and assign them to countries according to regions of the world they lie in. So when a customer from a certain zone place an order, they would be charged the rate according to the shipping method you assigned their zone. That would take some research with your preferred shipping provider. Also you may need to consider the cost to ship one item to that zone and charge a couple of bucks extra to ship additional items. OR..... You can calculate the cost to ship one item to different zones and charge one flat rate for all regions plus cost to ship additional items. I find it simpler this way. I hope this helps
  23. discxpress

    Need shipping module

    EddieO, I hope that I can help and I'm not too late. I've just done the same task that you're needing assistance with. I'm using version 2.3.1. Here's what I done based on the flat shipping method: 1. In your files open catalog/includes/modules/shipping/flat.php with your favorite text editor (I used Wordpad). With the same text editor open a blank document. 2. Next in flat.php copy the entire contents over to the blank document which will become the file for your new shipping rate. 3. Then in the new document every occurance of "flat" should be changed to the name you choose for your new shipping rate. I chose standard. Be careful some occurances are in all caps. 4. Save the file in php format. For example, standard.php 5. Now you must make another file. Open catalog/includes/languages/english/modules/shipping/flat.php and copy the conents. 6. Open another blank document. Paste the contents of flat.php 7. Once again change all occurances of flat to whatever you chose to name your shipping method. It must be the same name as the first file. For example, standard.php 8. Now upload both files to your server. catalog/includes/modules/shipping/standard.php or whatever name you chose catalog/includes/languages/english/modules/shipping/standard.php must be same name as first file. 9. Login to your admin area, click on Modules then Shipping In the upper-right of the admin area there should a button labeled Install Module. Click on that button 10. Your newly named shipping method should be listed along with the other shipping methods. Attempt to install it and edit the settings as you wish. If you have trouble ask for help.
  24. discxpress

    Developing a captcha addon for 2.3.1.

    @14steve14, I've been working on one of the recaptcha mods also. I almost got it going but im not quite sure if I got it flowing properly. It still allows to send mail via form without entering code in recaptcha box. Also, the emails are blank. Try it for yourself @ http://www.discxpress.com/contact_us.php. Tell me what's wrong and then I'll post the code for the contact page. Thanks
  25. discxpress

    Header Tags SEO

    I updated the page control and it seems to be working. I just don't understand why the error still showing. I just remembered that I installed Easypopulate for V2.3 a couple of days ago. So I will check the files to see if it has any file changes on the same files as HTSEO. Thanks.
×