View Full Version : Scheduled Task and RSS manual runs error
kharris53
Sun 24th Jun '07, 11:55pm
I get the following error on manual run per title:
Fatal error: Cannot redeclare construct_icons() (previously declared in /usr/local/apache2/htdocs/bulletinboard/includes/functions_newpost.php3:21) in /usr/local/apache2/htdocs/bulletinboard/includes/functions_newpost.php on line 138
am running 3.6.7. Tried to upgrade to pl1, had problems and am back to 3.6.7.
will go through steps identified in another thread I've posted later to upgrade. Thanks.:confused:
Steve Machol
Sun 24th Jun '07, 11:58pm
Do you have a mixture or php3 and php files or did you switch from one to the other?
kharris53
Mon 25th Jun '07, 3:49pm
Right now it's a mix. I switched back to 3.6.7 from pl1 after experiencing a few difficulties with the upgrade. I thought there would be the option to upgrade using php3, but there wasn't. Anyway, now I have twice the number of files, and to tell the truth, I am not at all anxious to start weeding. My cpadmin is running 3.6.7. The rss/schedual manual run is the only problem I am currently experiencing. You've previously given me the info for getting back up with pl1, but I still need to clean out all the php3 files I'll have and to tell the truth, I'm worried now that my board will get screwed up.
I see that the manual run calls on both the php and php3 functions_newpost files. Thanks Michael.
Steve Machol
Mon 25th Jun '07, 5:12pm
To change to .php from .php3:
1. Download the .php version of the vB zip file.
2. Upload ALL the files, except the images and install.php. Make sure you upload these in ASCII format and overwrite the ones on the server.
3. Then go into your Admin CP and upload the default vbulletin-style.xml file on the server to replace the old templates.
Admin CP -> Styles & Templates -> Download/Upload Styles
4. If you have any custom templates, you will need to either revert these templates or manually change any references to .'php3' to '.php'. You can also use the Help 'Find and Replace in Templates' feature under 'Search in Templates' but be very careful with this option.
kharris53
Tue 26th Jun '07, 11:41am
will do now and let you know how it turns out. thank you.
I have to ask - you are referring to the image.php files, correct?
kharris53
Tue 26th Jun '07, 1:19pm
Michael, I completed the upgrade per your instructions, however, I am receiving the same error msg. I've cleared my cache, but still no difference.:confused:
Steve Machol
Tue 26th Jun '07, 5:23pm
My instructions do work if done correctly. What is the exact error you are ggetting now?
kharris53
Tue 26th Jun '07, 5:46pm
same as in my first post - no change. Also, I've noticed now that the feeds are not updating.
I uploaded all files except the images.php and default vbulletin-style.xml.
I used the search function to remove references to the php3 files identified in my links, excepting for my website home page. Thanks.
Steve Machol
Tue 26th Jun '07, 5:47pm
Then you did not follow those instructions correctly:
in /usr/local/apache2/htdocs/bulletinboard/includes/functions_newpost.php3:21)
kharris53
Tue 26th Jun '07, 5:59pm
Well, when I renamed the file functions_newpost.php3 to php.old, I get these errors (tried this a couple time before)
Warning: require_once(/usr/local/apache2/htdocs/bulletinboard/includes/functions_newpost.php3) [function.require-once (http://www.originalinfidelsmc.com/bulletinboard/admincp/function.require-once)]: failed to open stream: No such file or directory in /includes/cron/rssposter.php3 on line 24
Fatal error: require_once() [function.require (http://www.originalinfidelsmc.com/bulletinboard/admincp/function.require)]: Failed opening required '/usr/local/apache2/htdocs/bulletinboard/includes/functions_newpost.php3' (include_path='.:../PEAR-1.1') in /usr/local/apache2/htdocs/bulletinboard/includes/cron/rssposter.php3 on line 24
I'm not a programmer, so I don't understand why a php file is calling up a php3. My files were php3. when I upgraded, the upgrade was php. I changed my admin link to index.php from php3 so that the php3 files wouldn't be called up. Hope that makes sense. The version does shoe pl1 as it should. Yeah, I'm confused.
Steve Machol
Tue 26th Jun '07, 6:03pm
The point is that it would not do this if you followed my instructions. :)
kharris53
Tue 26th Jun '07, 6:12pm
Then I'm confused as to what part I did not follow. It looks straight-forward. Upload all files excepting the image and install files. Upload the xml default file (overwrites, which is actually my default ftp setting). Hence my confusion. If all the upgrade files are php, why are php3 files being called up. If I remove the php3 files, then I throw more errors. I appreciate your patience, as this is a learning process for me, however, I think I'm better back at 3.6.7. I had no issues other than the original error I identified regarding my rss manual runs. Despite the manual run error, the feeds were still updating as long as the board was populated with members. I'll tackle this issue again when I become more versed in php.
Again, I do appreciate the time you've taken with me. Thank you.
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.