Front page blank after reinstalling backup unless index.php

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
Andrew Prior
Forum Members
Forum Members
Posts: 241
Joined: Sun Oct 28, 2007 4:14 am
Location: Australia

Front page blank after reinstalling backup unless index.php

Post by Andrew Prior »

I've removed and reinstalled my site in an attempt to clear another problem. No joy there.

But I also find that if I enter just the domain name:
https://sitename.org
I get the error:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/adminuser/public_html/lib/classes/Database/class.Connection.php on line 354 and a white screen.
If I enter https://sitename.org/index.php then all is fine.

I've not been able to find anyone dealing with this in the forum. Anyone have any ideas?

----------------------------------------------
Cms Version: 2.2.12
Installed Modules:
• AdminSearch: 1.0.4
• Album: 1.11
• CGExtensions: 1.64.10
• CGFeedback: 2.2.6
• CGJobMgr: 1.3.6
• CGSimpleSmarty: 2.2.1
• CMSContentManager: 1.1.8
• CMSMailer: 6.2.14
• Captcha: 1.0
• CmsJobManager: 0.1.3
• DesignManager: 1.1.6
• FileManager: 1.6.9.1
• FilePicker: 1.0.4.1
• JQueryTools: 1.4.2
• MenuManager: 1.50.3
• MicroTiny: 2.2.4
• ModuleManager: 2.1.7
• NMS: 2.13.3
• Navigator: 1.0.9
• News: 2.51.7
• Printing: 1.1.2
• Search: 1.51.7
• Showtime2: 3.7.3
• ThemeManager: 1.1.8

Config Information:
• php_memory_limit:
• max_upload_size: 12000000
• url_rewriting: mod_rewrite
• page_extension: .html
• query_var: page
• auto_alias_content: true
• locale:
• set_names: false
• timezone: Australia/Brisbane
• permissive_smarty: true

Php Information:
• phpversion: 7.3.11
• md5_function: On (True)
• json_function: On (True)
• gd_version: 2
• tempnam_function: On (True)
• magic_quotes_runtime: Off (False)
• E_ALL: 32767
• E_STRICT: 2048
• E_DEPRECATED: 8192
• 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: 90
• register_globals: Off (False)
• output_buffering: 4096
• disable_functions: show_source, system, shell_exec, passthru, exec, popen, proc_open
• open_basedir:
• test_remote_url: Success
• file_uploads: On (True)
• post_max_size: 32M
• upload_max_filesize: 12M
• session_save_path: /var/cpanel/php/sessions/ea3 (0700)
• 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: Off (False)
• browser_cache_expiry: 30
• php_opcache: Off (False)
• smarty_cache: Off (False)
• smarty_compilecheck: Off (False)
• auto_clear_cache_age: On (True)
Server Information:
• Server Software: Apache
• Server Api: cgi-fcgi
• Server Os: Linux 3.10.0-962.3.2.lve1.5.26.5.el7.x86_64 On x86_64
• Server Db Type: MySQL (mysqli)
• Server Db Version: 5.7.28
• Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
• tmp: /home/adminuser/public_html/tmp (0755)
• tmp_cache: /home/adminuser/public_html/tmp/cache (0755)
• templates_c: /home/adminuser/public_html/tmp/templates_c (0755)
• modules: /home/adminuser/public_html/modules (0755)
• uploads: /home/adminuser/public_html/uploads (0775)
• File Creation Mask (umask): /home/adminuser/public_html/tmp/cache (0755)
• config_file: 0444
----------------------------------------------
Andrew Prior
Forum Members
Forum Members
Posts: 241
Joined: Sun Oct 28, 2007 4:14 am
Location: Australia

Re: Front page blank after reinstalling backup unless index.

Post by Andrew Prior »

I added

Code: Select all

DirectoryIndex index.php
to .htaccess. Seems to work
Locked

Return to “CMSMS Core”