X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   free google sitemap (https://forum.x-cart.com/showthread.php?t=51775)

fou 10-19-2010 10:46 PM

Re: free google sitemap
 
Quote:

Originally Posted by DisCost
I'm using the file from post#32, it could be that the file is timing out because I have ~5k products


5k products is not problem.
Maybe script cannot create or modify sitemap.xml file? You can create it manually first time.

Alex

DisCost 10-20-2010 09:05 AM

Re: free google sitemap
 
I found my problem: In the auth.php, instead of placing the
'include... sitemap.php";'
above the
'$smarty->assign("redirect","admin");'
I had to place it above the
'$usertypes = func_get_usertypes();'

thank you for this cool mod and responding to my questions! :)

fou 10-20-2010 12:16 PM

Re: free google sitemap
 
Quote:

Originally Posted by DisCost
I found my problem: In the auth.php, instead of placing the
'include... sitemap.php";'
above the
'$smarty->assign("redirect","admin");'
I had to place it above the
'$usertypes = func_get_usertypes();'

thank you for this cool mod and responding to my questions! :)


Thanks :)

lafair 11-26-2010 03:55 PM

Re: free google sitemap
 
Using this version, but I'm getting an error:


Code:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 16 bytes) in /htdocs/www/store/include/func/func.db.php on line 148

I think I'm overloading the usable memory allocation for PHP (my shared hosting limits me to 64MB) and I can't up the limit to 128! )-8 when I attempt to cache the sitemap (removed the daily trigger to test).

I have about 16000+ products, any thoughts?

Quote:

Originally Posted by jones
Thank you Steve,

I have added changes to module :)



You can remove/change these URLs from admin area on Genaral Settings/Google SiteMap options -> "Additional URLs." field.

Alex

UPDATED: forgot file with new version.


fou 11-27-2010 12:21 AM

Re: free google sitemap
 
1 Attachment(s)
Hi lafair,

I have made optimisation of my script.
If you already has installed module just overwrite "sitemap.php" file.

Alex

lafair 11-27-2010 01:19 AM

Re: free google sitemap
 
Excellent work! Runs great! Many thanks!

Quote:

Originally Posted by fou
Hi lafair,

I have made optimisation of my script.
If you already has installed module just overwrite "sitemap.php" file.

Alex



All times are GMT -8. The time now is 03:45 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.