vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Moving the forums to another directory + redirecting in index.php ?? (https://vborg.vbsupport.ru/showthread.php?t=49621)

Xenon 03-05-2003 10:28 AM

well, you can run the nessesary queries within phpmyadmin, without hacking of course :)

stark427 03-05-2003 11:25 AM

Quote:

Originally posted by Xenon
well, you can run the nessesary queries within phpmyadmin, without hacking of course :)
Erm thanx - but could you please elaborate more on this? - only if you have the time.
I have used phpmyadmin only 2-3 times for really simple things, but running queries.... no :rolleyes:

If that is of any help :

here is the thread URL of the old forum :

Code:

http://www.synthpopavenue.gr/forumdisplay.php?forumid=8
and here is the one from the new :

Code:

http://www.synthpopavenue.gr/forum/forumdisplay.php?forumid=8
the steps of what I should do would be much appreciated.

Xenon 03-05-2003 11:40 AM

normally this would work:

[sql]UPDATE post SET pagetext=REPLACE(pagetext,'http://www.synthpopavenue.gr/','http://www.synthpopavenue.gr/forum/')[/sql]

stark427 03-05-2003 12:47 PM

I get this error :

Code:

SQL-query :  [Edit]

UPDATE post SET pagetext=REPLACE(pagetext,\'http://www.synthpopavenue.gr/\',\'http://www.synthpopavenue.gr/forum/\')

MySQL said:


You have an error in your SQL syntax near '\'http://www.synthpopavenue.gr/\',\'http://www.synthpopavenue.gr/forum/\')' at line 1


Xenon 03-05-2003 01:02 PM

nice...., tell your mysql to describe the error a bit more, because i don't see an error in this query.

stark427 03-05-2003 01:13 PM

May If I try putting the query in text file and run it from there ?

Xenon 03-05-2003 01:15 PM

hmm, i don't think it would change anything...

can maybe someone other answer that one, i really don't see why this query should have an error???

stark427 03-05-2003 01:16 PM

Yes! :D
It worked with the TXT file

thanx Xenon

Xenon 03-05-2003 01:17 PM

really?

weird... what version of phpmyadmin did you use?

you're welcome :)

stark427 03-05-2003 01:19 PM

It's version 2.2.0

and MySQL v3.23.55 ( I think)


All times are GMT. The time now is 04:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00961 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete