+ Reply to Thread
Results 1 to 12 of 12

Thread: Scheduled Task and RSS manual runs error

  1. #1
    New Member kharris53 has disabled reputation
    Join Date
    Mar 2007
    Posts
    28

    Scheduled Task and RSS manual runs error

    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.

  2. #2
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,695
    Do you have a mixture or php3 and php files or did you switch from one to the other?
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  3. #3
    New Member kharris53 has disabled reputation
    Join Date
    Mar 2007
    Posts
    28
    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.

  4. #4
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,695
    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.
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  5. #5
    New Member kharris53 has disabled reputation
    Join Date
    Mar 2007
    Posts
    28
    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?
    Last edited by kharris53; Tue 26th Jun '07 at 11:54am.

  6. #6
    New Member kharris53 has disabled reputation
    Join Date
    Mar 2007
    Posts
    28

    Upgrade

    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.

  7. #7
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,695
    My instructions do work if done correctly. What is the exact error you are ggetting now?
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  8. #8
    New Member kharris53 has disabled reputation
    Join Date
    Mar 2007
    Posts
    28
    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.

  9. #9
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,695
    Then you did not follow those instructions correctly:

    in /usr/local/apache2/htdocs/bulletinboard/includes/functions_newpost.php3:21)
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  10. #10
    New Member kharris53 has disabled reputation
    Join Date
    Mar 2007
    Posts
    28
    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]: failed to open stream: No such file or directory in /includes/cron/rssposter.php3 on line 24

    Fatal error: require_once() [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.

  11. #11
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,695
    The point is that it would not do this if you followed my instructions.
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  12. #12
    New Member kharris53 has disabled reputation
    Join Date
    Mar 2007
    Posts
    28
    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.

+ Reply to Thread

Similar Threads

  1. Scheduled Task
    By CricketWeb in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 1
    Last Post: Wed 22nd Feb '06, 4:43pm
  2. scheduled task
    By indie in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 2
    Last Post: Sat 19th Feb '05, 2:19am
  3. Scheduled Task
    By attroll in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 21
    Last Post: Tue 8th Feb '05, 5:19pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts