EP4+ZC1.5.8a
EasyPopulate-4.0-4.0.37.13
When I go to Tools and click on Easy Populate 4, all I get is a blank screen. Have used this program on 4 or 5 other sites and never had any problems.
Printable View
EP4+ZC1.5.8a
EasyPopulate-4.0-4.0.37.13
When I go to Tools and click on Easy Populate 4, all I get is a blank screen. Have used this program on 4 or 5 other sites and never had any problems.
There are two known issues with that arrangement with a potential third depending on the mySql configuration. The two problems are addressed by review of almost any of the recent pages of this thread. An updated version not having those problems is referenced a few posts ago, available from github.
For clarity, I expect when stating that have a blank page that mean entirely blank, not just blank below the menu bar?
I tried both versions, the one in ZC Plugins, and the one from github.
Page is completely blank. Even tried to look at the page source, shows nothing.
The url listed in the browser for the blank page is: index.php?cmd=easypopulate_4
What was the attempted file placement for the one on github? If solely placed in the zc_plugins directory, then the previous version located in the admin directory must be removed. Also with it in the zc_plugins directory, it would need to be installed using the plugin manager.
If all of the admin files were placed in the admin (overwriting the older version) then that's something to work out because I have tried installing both ways with success on php 8.3.
Side note, generally speaking I would expect some sort of admin side debug log to be generated in the logs directory because of the blank screen. The contents of that (minus specific identification of the admin directory) would be helpful to us both. :)
here is the admin log file:
[09-Feb-2024 09:37:11 America/Chicago] Request URI: /store/xxxxxxxxxxxxxx/index.php?cmd=easypopulate_4, IP address: 135.129.209.218, Language id 1
#1 fopen() called at [/home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php:166]
#2 require(/home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php) called at [/home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/index.php:11]
--> PHP Warning: fopen(/home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/EASYPOPULATE_4_CONFIG_TEMP_DIR/ep_debug_log.txt): Failed to open stream: No such file or directory in /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php on line 166.
[09-Feb-2024 09:37:11 America/Chicago] PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php:167
Stack trace:
#0 /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php(167): fclose(false)
#1 /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/index.php(11): require('/home1/alternb0...')
#2 {main}
thrown in /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php on line 167
[09-Feb-2024 09:37:11 America/Chicago] Request URI: /store/xxxxxxxxxxxxxx/index.php?cmd=easypopulate_4, IP address: 135.129.209.218
--> PHP Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php:167
Stack trace:
#0 /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php(167): fclose(false)
#1 /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/index.php(11): require('/home1/alternb0...')
#2 {main}
thrown in /home1/alternb0/public_html/rcgstore.com/store/xxxxxxxxxxxxxx/easypopulate_4.php on line 167.
=================================
It was the missing: EASYPOPULATE_4_CONFIG_TEMP_DIR. I created it and refreshed the admin page and now it works. From the install.txt file, I thought if the directory was not there it would give me an error. Still learning ZC at 78 !! :wacko:
So, I might have expected the same and in my testing I didn't come across that hard stop error. I see what can be changed to prevent that response. It is to change the if statement in line 165 to first check if logging should happen and then validate the folder exists before entering that area. I'll also look further downstream for similar issue...
Thank you for your reporting!!!
Greetings!
I am having a small problem installing easy pop
All files have been installed and I created a "temp" folder in my admin where I put the .htaccess file. Easy populate 4 shows up in my tools but when I click on it I get an http error 500 so I'm unable to install ep4 configuration data
Attachment 20521
Attachment 20522
Can anyone help?
It's a new install. Yes, there was a generated log:
Quote:
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EP4_DB_FILTER_KEY - assumed 'EP4_DB_FILTER_KEY' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 23.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_TEMP_DIR - assumed 'EASYPOPULATE_4_CONFIG_TEMP_DIR' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 41.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_FILE_DATE_FORMAT - assumed 'EASYPOPULATE_4_CONFIG_FILE_DATE_FORMAT' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 42.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_DEFAULT_RAW_TIME - assumed 'EASYPOPULATE_4_CONFIG_DEFAULT_RAW_TIME' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 43.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_DEBUG_LOGGING - assumed 'EASYPOPULATE_4_CONFIG_DEBUG_LOGGING' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 44.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_SPLIT_RECORDS - assumed 'EASYPOPULATE_4_CONFIG_SPLIT_RECORDS' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 45.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_PRICE_INC_TAX - assumed 'EASYPOPULATE_4_CONFIG_PRICE_INC_TAX' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 46.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_SMART_TAGS - assumed 'EASYPOPULATE_4_CONFIG_SMART_TAGS' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 47.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_MAX_QTY_DISCOUNTS - assumed 'EASYPOPULATE_4_CONFIG_MAX_QTY_DISCOUNTS' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 48.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_VERBOSE - assumed 'EASYPOPULATE_4_CONFIG_VERBOSE' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 49.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_EXECUTION_TIME - assumed 'EASYPOPULATE_4_CONFIG_EXECUTION_TIME' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 50.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_CURLY_QUOTES - assumed 'EASYPOPULATE_4_CONFIG_CURLY_QUOTES' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 51.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_CHAR_92 - assumed 'EASYPOPULATE_4_CONFIG_CHAR_92' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 52.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_META_DATA - assumed 'EASYPOPULATE_4_CONFIG_META_DATA' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 53.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_MUSIC_DATA - assumed 'EASYPOPULATE_4_CONFIG_MUSIC_DATA' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 54.
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
#1 require(/home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php) called at [/home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php:11]
--> PHP Warning: Use of undefined constant EASYPOPULATE_4_CONFIG_TEMP_DIR - assumed 'EASYPOPULATE_4_CONFIG_TEMP_DIR' (this will throw an Error in a future version of PHP) in /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php on line 156.
[17-Mar-2024 10:48:29 America/Boise] PHP Fatal error: Uncaught Error: Cannot access private property queryFactory::$link in /home2/cedargr4/public_html/new/franK-jLN-Sunny/includes/functions/extra_functions/easypopulate_4_functions.php:625
Stack trace:
#0 /home2/cedargr4/public_html/new/franK-jLN-Sunny/includes/functions/extra_functions/easypopulate_4_functions.php(469): ep_4_query('SHOW COLUMNS FR...')
#1 /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php(173): ep_4_check_table_column('products_descri...', 'products_short_...')
#2 /home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php(11): require('/home2/cedargr4...')
#3 {main}
thrown in /home2/cedargr4/public_html/new/franK-jLN-Sunny/includes/functions/extra_functions/easypopulate_4_functions.php on line 625
[17-Mar-2024 10:48:29 America/Boise] Request URI: /new/franK-jLN-Sunny/index.php?cmd=easypopulate_4, IP address: 47.219.208.101
--> PHP Fatal error: Uncaught Error: Cannot access private property queryFactory::$link in /home2/cedargr4/public_html/new/franK-jLN-Sunny/includes/functions/extra_functions/easypopulate_4_functions.php:625
Stack trace:
#0 /home2/cedargr4/public_html/new/franK-jLN-Sunny/includes/functions/extra_functions/easypopulate_4_functions.php(469): ep_4_query('SHOW COLUMNS FR...')
#1 /home2/cedargr4/public_html/new/franK-jLN-Sunny/easypopulate_4.php(173): ep_4_check_table_column('products_descri...', 'products_short_...')
#2 /home2/cedargr4/public_html/new/franK-jLN-Sunny/index.php(11): require('/home2/cedargr4...')
#3 {main}
thrown in /home2/cedargr4/public_html/new/franK-jLN-Sunny/includes/functions/extra_functions/easypopulate_4_functions.php on line 625.