Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1995

[3.3.x] Support Forum • Re: 3.0 to 3.3 - help with database search/replace

$
0
0
...

The issue is that ;p is not only used in quote links, for instance i have found examples of code using ;png and ;php , so i can't just go replacing every instance of ;p without messing other things up. In order to circumvent that problem
,

You could edit the SQL : first replace ;png with e.g. ;oldpng, and ;php with ;oldphp and after importing that , undo those edits in the new database
So that's the idea. But upon trying to do a search/replace in phpmyadmin for the database, i keep getting error 500. Then i figured i could export the database (all these quote links are within the column "post_text" in "phpbb_posts") and try to edit the sql code with notepad++. But the phpbb_posts part of the database is already bigger than 64mb, while this is the max allowed upload size when i want to upload the edited file again.
An option is to split the SQL into parts smaller than 64mb and do a fractioned import.

Or, (probably less work) Install a personal webserver, install a copy and do everything on your PC. Once everything's done, split the SQL into part smaller than 64MB and import those.

Statistics: Posted by warmweer — Thu Feb 20, 2025 8:31 am



Viewing all articles
Browse latest Browse all 1995

Trending Articles