Originally Posted by
mc12345678
Do you have the file includes/extra_datafiles/ceon_uri_mapping_database_tables.php in place? That file contains the definition that appears to be missing. It appears though that because the file handlers that process the associated directories don't use the glob function that perhaps sorting is not accomplished and therefore the file reporting the issue is loaded before the file desired to be loaded earlier.
Unfortunate, but that's the design chosen to perform the Laravel file loading. Looks like some additional unnecessary logic would need to be incorporated if you're answer to the above is that the file is present. If the file is not present, then wonder what other files are missing, which I would have thought would be identified in the installation check or whatever it is that reports extra files and potentially missing files.
Hi MC - the file includes/extra_datafiles/ceon_uri_mapping_database_tables.php is in place and I have checked installed files against the downloaded fileset copy and all files are correct. The issue only started 3 days ago on two sites with CEON 5.1.0 installed - prior to this there were no error logs - 3 days ago I did change the PHP version from 7.1 to 7.4
So after everything else checked out I reverted to PHP 7.1 and that did the trick, the errors ceased.
Now I need to find out why changing php would create the issue and imporatantly how to fix it.
Reason for PHP change - I have one hosting account with 3 active sites 2 had been upgraded to 157 a couple of years ago but one was still a v155f and I had to use code in the .htaccess to have the server assume 7.1 to get it to work, until I upgraded it in the last few days to v157 - hence now I could change PHP to the higher 7.4 as all sites were now v157.
So in respect to your query about the file includes/extra_datafiles/ceon_uri_mapping_database_tables.php infering a possible database issue - it seems to me that installation of CEON is relative to the server PHP version at time of installation.
Q - So how can I get CEON to accept the PHP change?? (aside from an uninstall and then new install if possible to avoid it)
I couldn't find anything in the CEON documentation specifically, other than this in the 157 installation;
HTML Code:
Automatically update the database and configuration
This software comes with some intelligent upgrade and error checking functionality which makes it easy to keep the database and configuration up to date.
Go to Modules > Ceon URI Mapping (SEO) Config in the Zen Cart Admin and the module will be updated automagically!
I changed PHP back from 7.1 to 7.4 and followed the above in the hope it would detect the change but it did not.
cheers, Mike
Bookmarks