Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Keith J. Kacin Posted June 20, 2007 Posted June 20, 2007 With 27K posts, you should be able to run it without any issues through the Admin CP tool.
mcmcomput3 Posted June 20, 2007 Posted June 20, 2007 Lol, since that script isn't working for me, I am re-running 2 1/2 million post approx. @ 2.1 right now, since starting last night.
Sire Posted June 23, 2007 Posted June 23, 2007 I was not able to choose which post ID to start from, or end at. I ran php -q rebuildposts.php, pressed 'p' and it started scrolling through posts. Did I miss a step?
maddog107 Posted June 26, 2007 Posted June 26, 2007 Hello mabye one of you can assist me. I have a board with some 900k posts and through the GUI its taking forever. So i tried to run the following and it just hangs forever after i hit 'p'. Any ideas or how long should I wait (waited some 10+mins)# php rebuildposts.php--------------------------------------------Welcome to the IP.Board Shell Post Rebuilder--------------------------------------------What do you wish to rebuild? [p=Posts, c=Calendar Events, m=Personal Messages, a =Announcements, s=Signatures]Enter:p
chimtroicabien Posted June 29, 2007 Posted June 29, 2007 Lol, since that script isn't working for me, I am re-running 2 1/2 million post approx. @ 2.1 right now, since starting last night.Same to me.
chimtroicabien Posted July 4, 2007 Posted July 4, 2007 I use this script in localhost have a notice:could not determine your IP address
chimtroicabien Posted July 5, 2007 Posted July 5, 2007 I use this script in localhost have a notice:could not determine your IP addressAnyone like me?
vladtheimpaler Posted July 5, 2007 Posted July 5, 2007 Well, not really. You might want to rebuild the first 1000 posts. Or you might want to open 4 shell windows and split the rebuild over those 4 windows.Window 1) 0 - 250,000Window 2) 250,000 - 500,000Window 3) 500,000 - 750,000Window 4) 750,000 - 1,000,000.et. cetera...I cant select any choices you are talking about Matt, like the others below..I was not able to choose which post ID to start from, or end at. I ran php -q rebuildposts.php, pressed 'p' and it started scrolling through posts. Did I miss a step?Hello mabye one of you can assist me. I have a board with some 900k posts and through the GUI its taking forever. So i tried to run the following and it just hangs forever after i hit 'p'. Any ideas or how long should I wait (waited some 10+mins)# php rebuildposts.php--------------------------------------------Welcome to the IP.Board Shell Post Rebuilder--------------------------------------------What do you wish to rebuild? [p=Posts, c=Calendar Events, m=Personal Messages, a =Announcements, s=Signatures]Enter:pI have the same problem, if it is a problem. I saw this message;What do you wish to rebuild? [p=Posts, c=Calendar Events, m=Personal Messages, a =Announcements, s=Signatures] Enter:Pressing "p" and enter, thats all. After waiting a long time, it is finish (if its work for me).Is this a problem? or It does rebuild the posts? How can i sure or check it is working, any idea?Thank for this great utility also :thumbsup: :thumbsup: (w00t)
Baxter_jb Posted July 10, 2007 Posted July 10, 2007 if your having problems with it not allowing for other options to be picked, here is the fix:Find://----------------------------------------- // My get //----------------------------------------- function getoption() { $stdin = fopen('php://stdin', 'r'); $option = trim( fgets( $stdin ) ); fclose( $stdin ); return $option; } Replace with: //----------------------------------------- // My get //----------------------------------------- function getoption() { static $stdin = ''; if( ! $stdin ) { $stdin = fopen('php://stdin', 'r'); } $option = trim( fgets( $stdin ) ); return $option; }
vladtheimpaler Posted July 12, 2007 Posted July 12, 2007 nope :'( :x nothing was changed.Pressing "p", hitting enter an waiting forever (about 18-20 hour).:alien:
NTGforum Posted July 12, 2007 Posted July 12, 2007 nope :'( :x nothing was changed.Pressing "p", hitting enter an waiting forever (about 18-20 hour).:alien:no change to :(
TCWT Posted July 13, 2007 Posted July 13, 2007 So the shell scrip tis flawed? My forum has around 600,000 posts, how long should it take on a Xeon 3060 with 2GB memory?
Luke Posted July 13, 2007 Posted July 13, 2007 Mine took about 30-60 minutes? Not sure. I was doing something else at the same time :P
edirector Posted July 28, 2007 Posted July 28, 2007 Hi Matt,I had use your scipt, but he don't solve the problem with html.I have upgraded from 2.1.7 to 2.3.1.I used your script on my 500 000 posts.It's OK for bb code, but not for html.For example I can see this on my board :Duport: 29938style="color: rgb(255, 0, 0);">style="color: rgb(0, 0, 0);"> (texte ici)style="font-weight: bold; font-style: italic;">style="font-style: italic;">style="font-weight: bold;">style="font-style: italic; font-weight: bold;">au port: 29938style="color: rgb(255, 0, 0);">style="color: rgb(0, 0, 0);"> (texte la)
edirector Posted July 29, 2007 Posted July 29, 2007 For example :After rebuild, some html tag are converted :http://www.emule-france.com/forum/configur...htm#entry489922But after edit, the message formating is good.http://www.emule-france.com/forum/configur...htm#entry489922
edirector Posted July 29, 2007 Posted July 29, 2007 I try to resolve my problem without result.Text of my post in 2.1.7 in the database :This post is configure with html + manual return><a<br /> style="font-weight: bold; color: rgb(255, 102, 0);"<br /> href="#Etape1_light"><span<br /> style="text-decoration: underline;">Etape<br />1 :</span></a><span<br /> style="font-weight: bold; color: rgb(255, 102, 0);"><br />Attribuer une IP fixe
Watty Posted July 29, 2007 Posted July 29, 2007 For you folks still having problems, you might consider submitting a ticket via the client center so that it can get looked into. :)
edirector Posted July 29, 2007 Posted July 29, 2007 I did it, but, they don't work sunday ;)So I create a script who extract only data from "html" post, and convert it to 2.3.1 format and after I had replace theses posts by converted version.Thanks for your reply
bfarber Posted July 30, 2007 Posted July 30, 2007 There are some bugs with the rebuild routine (it's not specific to the shell script) I am working on for the next release. I do apologize for the inconvenience - there were massive changes to the way html and custom bbcode are stored/parsed in 2.3, and a few bugs slipped through the testing.
thedevilman Posted August 1, 2007 Posted August 1, 2007 At least i know now that i am not crazy, i thought i was doing something wrong. Is there a work around for this yet? HTML is not parsing correctly for my announcements and they are fairly important to my forums.thX!P.S. Would it be better if i file a support ticket fot this?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.