Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 2 [3] 4 5 6 7   Go Down

Author Topic: Google sitemaps  (Read 200668 times)

0 Members and 1 Guest are viewing this topic.

JohannM

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 252
Re: Google sitemaps
« Reply #40 on: August 13, 2006, 04:41:18 pm »

Ok, I'm gonna sound stupid here ...

I did access and execute the sitemap.php page, and it created an sitemap.xml page.

What is the purpose of this xml page, and why and for what is it used ?

Logged

Nibbler

  • Guest
Logged

wwedivas

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 32
    • WWE Divas
Re: Google sitemaps
« Reply #42 on: September 27, 2006, 06:12:17 pm »

Ok I have a few questions. My gallery is located at http://www.wwedivaspictures.com/pics ..  First of all I don't fully understand how to //define('FILEDUMP', 'sitemap.xml'); like it says cause i did this and I got an error. I need to see what the entire code should look like if I'm only changing that part of it. Also, you say that the script only covers picture pages that are in categories. Well I 6 different categories that I made, and the script only recognized the first category as well as the user galleries category. I wonder what that is so. Also, I would like to have one sitemap for my whole site. Is there a way to do this? Or would I have to manually copy and paste the urls I see at http://www.wwedivaspictures.com/pics/sitemap.php into the sitemap created from my main index page?                       

wwedivas

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 32
    • WWE Divas
Re: Google sitemaps
« Reply #43 on: October 01, 2006, 08:23:32 am »

Can anyone help me?

BikiniPhotoBank

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Google sitemaps
« Reply #44 on: October 02, 2006, 10:07:13 am »

OK I am totally confused??
 ???
I have tried BOTH of the sitemap files, but keep getting the error with the sitemap_plus.php file:
Warning: main(include/init.inc.php): failed to open stream: No such file or directory in /hsphere/local/home/spiroinc/bikiniphotobank.com/sitemap.php on line 33

Warning: main(include/init.inc.php): failed to open stream: No such file or directory in /hsphere/local/home/spiroinc/bikiniphotobank.com/sitemap.php on line 33

Fatal error: main(): Failed opening required 'include/init.inc.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/spiroinc/bikiniphotobank.com/sitemap.php on line 33

OR this error with the sitemap.php file:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/spiroinc/bikiniphotobank.com/sitemap.php on line 39

Can anyone tell me what I am doing wrong?
Please help....im dazed and confused!
Logged

nyltak

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Google sitemaps
« Reply #45 on: October 03, 2006, 06:47:20 pm »

2 links are still backwards.  plus is not and not is plus... this script is so simple yet sooo confusing
Logged

cornelp

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Google sitemaps
« Reply #46 on: October 05, 2006, 07:26:15 pm »

I have searched to see why i am getting this error, but I tried to run either one of the sitemaps files, and neither will work. Perhaps I am doing something wrong.

I am getting a 500 Internal Server Error.

Here is the link:
http://gallery.poserpacks.com/sitemap.php
http://gallery.poserpacks.com/sitemap_plus.php

Why is this? Was I supposed to make any changes to either file in order for it to work?

THANK YOU...

CPG Latest Version installed. No other mods (just added a few link buttons on my own).

Thank You again...
Logged

cornelp

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Google sitemaps
« Reply #47 on: October 09, 2006, 05:46:51 pm »

Anyone can help me here please?

Cornelp
Logged

Nibbler

  • Guest
Re: Google sitemaps
« Reply #48 on: October 09, 2006, 07:02:32 pm »

No idea.
Logged

cornelp

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Google sitemaps
« Reply #49 on: October 10, 2006, 01:42:42 pm »

Just in case anyone has the same problem as I do, or just cannot get the sitemap hack to work on their Gallery, there is another way, free too, lol.

I found this great and free software that works wonderful. Not only runs great, but also it can upload your XML Sitemap automatically and also inform Google of it. I did so last night for my site, and to my surprise, as soon as the software informed google of the sitemap change, google downloaded the sitemap within 8-12 mins on each site I did thru this software.

Works really great. Just wanted  to inform those that may NOT be able to run this due to Server Restrictions or other problems.
The only downside to this is that you have to do the XML File Manually whenever U make changes.

The software is called GSite Crawler, link below (I have nothing to do with this software, just found it thru other forums).
Hope this helps others, it sure helped me (submitted my forums, store and gallery within mins after I created the sitemap).

http://gsitecrawler.com/

Thank You...
Logged

windyweather

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • Windy Weather Photos
Simple one causes error from google
« Reply #50 on: October 12, 2006, 07:12:04 pm »

Google produced an error when processing output from the simple version of the file against my CPG1.4.4 site. The error complained about the first URI in the file. After removing the offending lines from the script, the sitemap was consumed by google with no errors.

Google may have changed the rules. The script was run from the base coppermine folder.

ww
Logged

mofro

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google sitemaps
« Reply #51 on: October 27, 2006, 10:41:37 pm »

I must be doing something severely wrong? No one else has posted this issue. Mine runs fine and hits all it should, but lists everything as local host instead of the web address.

Any ideas?
Logged

Nibbler

  • Guest
Re: Google sitemaps
« Reply #52 on: October 28, 2006, 12:45:04 am »

What have you set as your gallery url in config?
Logged

sguler

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Google sitemaps
« Reply #53 on: October 30, 2006, 09:29:49 am »

Simple version doesnt work  :(  http://forums.racingvideoz.com/gallery/sitemap2.php
Plus version only prints my home page :(  http://forums.racingvideoz.com/gallery/sitemap_plus.php
HELP !  ??? :(
Logged

mofro

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Google sitemaps
« Reply #54 on: October 30, 2006, 02:45:46 pm »

What have you set as your gallery url in config?

Thanks Nibbler!

Mo
Logged

Nibbler

  • Guest
Re: Google sitemaps
« Reply #55 on: October 30, 2006, 04:05:55 pm »

Try changing

Code: [Select]
mysql_query
to

Code: [Select]
cpg_db_query
Logged

sguler

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Google sitemaps
« Reply #56 on: October 30, 2006, 09:13:28 pm »

Thanks Nibbler, it works now:))
Logged

SteveoSupremo

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Google sitemaps
« Reply #57 on: November 17, 2006, 10:22:52 pm »

ok I've seen a couple posts on this but have never seen the problem resolved.

I am getting

Code: [Select]
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/steveome/public_html/vcitypaintball/cpg/sitemap.php on line 39

when I run the sitemap.php

here is my site www.VcityPaintball.com and the gallery is at www.VcityPaintball.com/cpg

any help would be great.

thanks
Logged

Nibbler

  • Guest
Re: Google sitemaps
« Reply #58 on: November 17, 2006, 10:24:54 pm »

Use the other version of the script.
Logged

^SuPeR^

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Google sitemaps
« Reply #59 on: December 08, 2006, 09:25:48 am »

Hi,

any workaround for albums in no category for Simple version?

Thanks
Logged
Pages: 1 2 [3] 4 5 6 7   Go Up
 

Page created in 0.029 seconds with 20 queries.