Results 1 to 3 of 3

Thread: Decprecated Error When Editing Modules in Admin CP

  1. #1
    Join Date
    Oct 2005
    Location
    Manassas, Virginia
    Posts
    139

    Default Decprecated Error When Editing Modules in Admin CP

    I just installed vba 4.0.1 on a host with php 5.3.3 and vb 4.0.5. I'm getting the following errors:

    PHP Code:

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022
    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022

    Deprecated
    : Function ereg() is deprecated in /home/persever/public_html/admincp/vba_cmps_admin.php on line 2022 
    Any ideas how I can fix this?

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Thank you for pointing this out, apparently that function was removed in PHP 5.3.3. I've just applied the fix to the admincp/vba_cmps_admin.php files in the v4.0.1 and v3.2.2 download packages here, so if you will download the files again and update that one on your server, that should take care of the issue. Or if you would rather apply the fix manually, just look in the file for 2 instances of this code:
    PHP Code:
    if (ereg('[^.]+'$modfile) AND $modfile != 'index.html'
    And replace each with this:
    PHP Code:
    if (substr($modfile, -4) == '.php'
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  3. #3
    Join Date
    Oct 2005
    Location
    Manassas, Virginia
    Posts
    139

    Default

    Thanks for the quick fix Brian! :-). Much appreciated.


    Btw, as a side note, this my first reply from my android galaxy s captivae. My new techie toy I got this weekend..and I must say it works with the site quite nicely. Vbadvanced looks great on it!!!!!!!! :-))

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Editing Modules
    By needeal in forum "How Do I..." Questions
    Replies: 1
    Last Post: 02-03-2010, 09:29 AM
  2. Problem editing modules
    By jonnyjonny_uk in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 12-08-2008, 01:21 PM
  3. Editing Modules
    By Daisyboo in forum "How Do I..." Questions
    Replies: 8
    Last Post: 10-13-2008, 12:43 PM
  4. admin options when editing or submitting an article
    By attroll in forum Feedback & Suggestions
    Replies: 3
    Last Post: 08-30-2007, 10:17 AM

Posting Permissions

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