
Originally Posted by
chuckrey
Using zc 2.1.0 php 8.2.0, ZCA Bootstrap
This is the 2nd site I have installed DBIO, the first works great, no issues and all installed without a problem. I just recently installed via Github the DBIO plugin to a new site and it installed without issues and all imports worked initially. This is where I have a problem. It was either during the import of data for the Attributes Basic or Attributes Raw that created a 500 error on the website. The error is related to the constant DIR_FS_ADMIN as undefined in the file: /home/xxxx/public_html/includes/extra_datafiles/dbio_file_database_names_admin.php..
The log is as follows:
[28-May-2025 15:00:10 UTC] PHP Fatal error: Uncaught Error: Undefined constant "DIR_FS_ADMIN" in /home/xxxxxx/public_html/includes/extra_datafiles/dbio_file_database_names_admin.php:6
Stack trace:
#0 /home/xxxxxx/public_html/includes/init_includes/init_file_db_names.php(54): include()
#1 /home/xxxxxx/public_html/includes/application_top.php(292): require('/home/xxxxxx/...')
#2 /home/xxxxxx/public_html/index.php(25): require('/home/xxxxxx/...')
#3 {main}
thrown in /home/xxxxxx/public_html/includes/extra_datafiles/dbio_file_database_names_admin.php on line 6
[28-May-2025 15:00:10 UTC] Request URI: /index.php?main_page=index, IP address: xx.xx.xxx.xxxx
--> PHP Fatal error: Uncaught Error: Undefined constant "DIR_FS_ADMIN" in /home/xxxxxx/public_html/includes/extra_datafiles/dbio_file_database_names_admin.php:6
Stack trace:
#0 /home/xxxxxx/public_html/includes/init_includes/init_file_db_names.php(54): include()
#1 /home/xxxxxx/public_html/includes/application_top.php(292): require('/home/xxxxxx/...')
#2 /home/xxxxxx/public_html/index.php(25): require('/home/xxxxxx/...')
#3 {main}
thrown in /home/xxxxxx/public_html/includes/extra_datafiles/dbio_file_database_names_admin.php on line 6.
[28-May-2025 15:00:10 UTC] Request URI: /index.php?main_page=index, IP address: xx.xx.xxx.xxx
--> PHP Fatal error: Uncaught Error: Undefined constant "DIR_FS_ADMIN" in /home/xxxxxx/public_html/includes/extra_datafiles/dbio_file_database_names_admin.php:6
Stack trace:
#0 /home/xxxxxx/public_html/includes/init_includes/init_file_db_names.php(54): include()
#1 /home/xxxxxx/public_html/includes/application_top.php(292): require('/home/xxxxxx/...')
#2 /home/xxxxxx/public_html/index.php(25): require('/home/xxxxxx/...')
#3 {main}
thrown in /home/xxxxxx/public_html/includes/extra_datafiles/dbio_file_database_names_admin.php on line 6.
Any idea what could have caused the 500 error when importing, more specifically that would trigger the constant error?
Thanks so much !
Bookmarks