PHP Warning after successful 2.2.10 install

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

PHP Warning after successful 2.2.10 install

Post by forest-guy »

About a month ago I installed the latest Xampp pkg on my PC to create a test environment. Downloaded and installed the latest CMSMS. The first time I created a website (about 1 month ago) everything worked fine. Today when I attempt to create a second website using the same download packages I get the following message after the successful installation:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\www.rmfms.org\lib\classes\class.moduleoperations.inc.php on line 395

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\www.rmfms.org\lib\classes\class.moduleoperations.inc.php on line 402
I have tried this both with the regular and extended pkg, doing a clean installation each time. I have uninstalled and re-installed xampp and did it all over again. Nothing seems to make a difference (good news is I'm not losing anything as they are all fresh installs). It doesn't seem to effect operation except for pushing everything down on the screen to show the warnings. Any ideas?
Thanks
Forest-guy

Here are my settings:

Code: Select all

Cms Version: 2.2.10

Installed Modules:

    AdminSearch: 1.0.4
    CMSContentManager: 1.1.7
    CmsJobManager: 0.1.3
    DesignManager: 1.1.6
    FileManager: 1.6.8
    FilePicker: 1.0.4
    MenuManager: 1.50.3
    MicroTiny: 2.2.4
    ModuleManager: 2.1.6
    Navigator: 1.0.9
    News: 2.51.6
    Search: 1.51.6

Config Information:

    php_memory_limit:
    max_upload_size: 10000000
    url_rewriting: none
    page_extension:
    query_var: page
    auto_alias_content: true
    locale:
    set_names: true
    timezone: America/Denver
    permissive_smarty: false

Php Information:

    phpversion: 7.3.7
    md5_function: On (True)
    json_function: On (True)
    gd_version: 2
    tempnam_function: On (True)
    magic_quotes_runtime: Off (False)
    E_ALL: 22527
    E_STRICT: 0
    E_DEPRECATED: 0
    test_file_timedifference: No time difference found
    test_db_timedifference: No time difference found
    create_dir_and_file: 1
    memory_limit: 128M
    max_execution_time: 60
    register_globals: Off (False)
    output_buffering: 4096
    disable_functions:
    open_basedir:
    test_remote_url: Success
    file_uploads: On (True)
    post_max_size: 15M
    upload_max_filesize: 10M
    session_save_path: C:\xampp\tmp (0777)
    session_use_cookies: On (True)
    xml_function: On (True)
    xmlreader_class: On (True)
    check_ini_set: On (True)
    curl: On

Performance Information:

    allow_browser_cache: On (True)
    browser_cache_expiry: 60
    php_opcache: Off (False)
    smarty_cache: Off (False)
    smarty_compilecheck: Off (False)
    auto_clear_cache_age: On (True)

Server Information:

    Server Software: Apache/2.4.39 (Win64) OpenSSL/1.1.1c PHP/7.3.7
    Server Api: apache2handler
    Server Os: WINNT 6.1 On AMD64
    Server Db Type: MySQL (mysqli)
    Server Db Version: 10.3.16
    Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:

    tmp: C:\xampp\htdocs\www.rmfms.org\tmp (0777)
    tmp_cache: C:\xampp\htdocs\www.rmfms.org\tmp\cache (0777)
    templates_c: C:\xampp\htdocs\www.rmfms.org\tmp\templates_c (0777)
    modules: C:\xampp\htdocs\www.rmfms.org\modules (0777)
    uploads: C:\xampp\htdocs\www.rmfms.org\uploads (0777)
    File Creation Mask (umask): C:\xampp\htdocs\www.rmfms.org\tmp\cache (0777)
    config_file: 0444

User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1790
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: PHP Warning after successful 2.2.10 install

Post by DIGI3 »

If this is a live site you'll probably want to set display_errors to off in your php config. You can also adjust the error reporting level to not include warnings.

You can probably diagnose what is triggering the warning with a bit of testing, but keep in mind that it's just that - a warning - and not an error.
Not getting the answer you need? CMSMS support options
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

Re: PHP Warning after successful 2.2.10 install

Post by forest-guy »

DIGI3,
Yes I know I can change the error reporting to ignore the warnings, but everything I have ever read indicates you should resolve the issue causing the warning rather than ignoring it as it may be a symptom of something more serious later on. That this is a clean install of the latest version of CMSMS and xampp I thought someone might want to know about it in case it was something that needed to be fixed in the installation package.
forest-guy
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1790
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: PHP Warning after successful 2.2.10 install

Post by DIGI3 »

Of course, but I don't know your level of experience. You said it was moving your content down, so I gave you some suggestions to address that.

Anyway, the message is most likely because you're using PHP 7.3 which isn't fully supported by the CMSMS 2.2.x series. It mostly works, but any time spent cleaning up warnings will mostly be spent on the upcoming 2.3 release.
Not getting the answer you need? CMSMS support options
Locked

Return to “CMSMS Core”