May 23, 2012, 17:08:35 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Revenue sharing launched. This is offered as a "thank you" for being a member of webmasterstalks.com community! If you have an Adsense/Yahoo publisher account then you can start right away !
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Revenue sharing launched. This is offered as a "thank you" for being a member of webmasterstalks.com community! If you have an Adsense/Yahoo publisher account then you can start right away !
Pages: [1]
  Print  
Author Topic:

Sitemaps.php again :)

 (Read 4510 times)
0 Members and 1 Guest are viewing this topic.
CyberPhreak
Jr. Member
**

Points: 0
Offline Offline

Posts: 46


Delphi lover


WWW
« on: December 19, 2006, 04:58:43 »

When I enter the Sitemaps.php I get alot of stuff on the top:
Code:
http://www.infected-database.net/forum/index.php  2006-12-19T11:45:21+00:00  hourly  1.0    http://www.infected-database.net/forum/news_announcements-b1.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/introduce_yourself-b2.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/feedback_suggestions-b16.0/  2006-12-19T11:45:21+00:00  daily  0.9    http://www.infected-database.net/forum/exploits_vulnabilities-b3.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/showoff-b4.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/security_news-b10.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/security_articles_tutorials-b5.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/programming-b6.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/porn_xxx_passwords-b20.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/other_xxx-b33.0/  2006-12-19T11:45:21+00:00  daily  0.9    http://www.infected-database.net/forum/cracking_reversed_engineering-b14.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/wireless_hacking-b7.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/hacking_tools_downloads-b8.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/support-b11.0/  2006-12-19T11:45:21+00:00  daily  0.9    http://www.infected-database.net/forum/daily_proxies-b31.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/anonymity_privacy_tools-b9.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/phreaking-b17.0/  2006-12-19T11:45:21+00:00  monthly  0.8    http://www.infected-database.net/forum/requests-b34.0/  2006-12-19T11:45:21+00:00  daily  0.9    http://www.infected-database.net/forum/trading_dealing-b15.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/general_chat-b13.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/helpdesk-b12.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/gfx_corner-b18.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/link_exchange-b19.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/funstuff-b21.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/register-b32.0/  2006-12-19T11:45:21+00:00  monthly  0.8    http://www.infected-database.net/forum/warez-b22.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/applications-b23.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/games-b24.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/movies-b25.0/  2006-12-19T11:45:21+00:00  hourly  0.9    http://www.infected-database.net/forum/music-b26.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/website_scripts-b27.0/  2006-12-19T11:45:21+00:00  monthly  0.8    http://www.infected-database.net/forum/trash_can-b35.0/  2006-12-19T11:45:21+00:00  daily  0.9    http://www.infected-database.net/forum/private_section-b29.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/vip_chat-b30.0/  2006-12-19T11:45:21+00:00  daily  0.8    http://www.infected-database.net/forum/area_51-b28.0/  2006-12-19T11:45:21+00:00  daily  0.9 

And then I get this query from the SQL:
Table 'infected_CyberPh.smf_tp_articles' doesn't exist
File: /home/infected/public_html/forum/sitemaps.php
Line: 178

Any ideas? Smiley
Logged



TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #1 on: December 19, 2006, 05:47:13 »

Hmmm ... db_query function is creating me problems from this point of view. I will forward to see what to do ...

Regards
Logged

CyberPhreak
Jr. Member
**

Points: 0
Offline Offline

Posts: 46


Delphi lover


WWW
« Reply #2 on: December 19, 2006, 05:48:17 »

Thanks alot, and do you think you can add sitemaps.xml too in next version? Smiley
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #3 on: December 19, 2006, 05:53:05 »

A quick fix:
find this
$exists = db_query("Select 1 from {$db_prefix}tp_articles limit 0", __FILE__, __LINE__);
if ($exists)

and replace if ($exists) with if (!$exists)

Regards
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #4 on: December 19, 2006, 05:54:02 »

Thanks alot, and do you think you can add sitemaps.xml too in next version? Smiley

sitemaps.xml ? but you already have sitemap.xml why do you need sitemaps.xml ?

Regards
Logged

CyberPhreak
Jr. Member
**

Points: 0
Offline Offline

Posts: 46


Delphi lover


WWW
« Reply #5 on: December 19, 2006, 06:13:56 »

Oh, I didn't realise. I thought there we're no XML fie included. Smiley
Logged

CyberPhreak
Jr. Member
**

Points: 0
Offline Offline

Posts: 46


Delphi lover


WWW
« Reply #6 on: December 19, 2006, 11:13:48 »

it looks like my problem is that, PHP tries to find infected_CyberPh.smf_tp_articles, but infected_CyberPh is my database name. I guess you must seclude them or something Smiley
« Last Edit: December 19, 2006, 11:24:07 by CyberPhreak » Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #7 on: December 19, 2006, 11:35:05 »

ok ... find the instruction what is starting with $exists= db_query( .... and comment it (add in front // ).

Regards
Logged

CyberPhreak
Jr. Member
**

Points: 0
Offline Offline

Posts: 46


Delphi lover


WWW
« Reply #8 on: December 19, 2006, 11:38:34 »

Allright, when I enter sitemaps.php its content gets redirected to a XML document with alot of information, this is correct? The issue is solved? Smiley
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #9 on: December 19, 2006, 15:46:22 »

yes ... when you have enter sitemap.xml it the same generated content like sitemaps.php Smiley

Regards
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!