eWallz
Forum Replies Created
-
Also please fix it for category names as well. html decode not applied to Category Name & Product Titles on telegram chat.
Forum: Plugins
In reply to: [White Label CMS] Add custom JavaScript for administration+1 for this function. It will make it easier for us to add chat widget in the backend.
Hi, why you did not release the latest fixed in official wp repo for other users to download/auto update?? this plugin has not been updated for more than a year. Is it still comply & compatible with the latest Woo 7.0?
fixed on 4.2 but on 4.2.2 return blank screen on admin side when constant enabled…
- This reply was modified 2 years, 5 months ago by eWallz.
Hi, backup worked fine on 4.1.4
But on a fresh wp install without API constant/define, the shell_exec error came back. Last time, a nice message notice appear asking to enable shell_exec or put constant..just this small issue.Hi, tested as per your instructions.
1. Once clicked Create Backup & Before refreshing the page. The full completed backup file is created & available in home dir. https://snipboard.io/P3v1El.jpg. Permission 600.2. Then refreshed once, no file on the list. In home dir file is gone. In cpanel folder, backup file is there, same full size, but permission 1204 https://snipboard.io/acU49D.jpg.
3. Then refreshed 2nd time, errors https://snipboard.io/gT4NM5.jpg shown on backup page. List empty. In the cpanel folder, the file size become 0 with last mod 1970 perm 644 same as https://snipboard.io/ohalEd.jpg
4. Deleted the 0 size file in cpanel folder. Then refresh the backup page > error in (3) persist & the exact 0 size backup file in (3) recreated.
5. Leaving (4) as it is. I click to create a 2nd backup. Backup file is completed in home dir https://snipboard.io/TkIAxt.jpg.
6. Refresh once. Same thing happened as (2). https://snipboard.io/LWl9XN.jpg
and the process repeating…
Hi, it can be activated fine now. Tested the backup function.
1. Cpanel backup trigger fine on button click.
2. After like 5 minutes, i refresh the page. Got this error: https://snipboard.io/gT4NM5.jpg
3. Check in cpanel filemanager. Backup in /cpanel folder is 0 in size with weird last mod date. check this https://snipboard.io/ohalEd.jpg. Reload many times after next 5 minutes, still the same..Hi, tested right away using production version. Plugin cannot be activated & triggered fatal error despite using const or define API in wp-config. I think it still checking for shell_exec.
https://snipboard.io/dHp2LF.jpgI commented out the shell_exec call & checks, able to activate. Then test run a backup. Backup files is ready on cpanel default homefolder within 3s (200mb size). But its not being copied over to wp-content/cpanel…and apparently got deleted in few minutes. Yet the cpanel folder still empty…
Hi, ok on a clean WP install, php74, Litespeed.
When shell_exec disabled + no constant wp-config: php Error notice
Warning: shell_exec() has been disabled for security reasons in /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/UAPI.php on line 34 Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, null given in /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/UAPI.php:58 Stack trace: #0 /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/UAPI.php(58): json_decode(NULL) #1 /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/UAPI.php(78): WebFacing\cPanel\UAPI::result('DomainInfo', 'list_domains') #2 /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/Main.php(85): WebFacing\cPanel\UAPI::main_domain() #3 /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/index.php(55): WebFacing\cPanel\Email\Main::admin() #4 /home/jomusto/public_html/wp-admin/includes/plugin.php(2313): include_once('/home/jomusto/p...') #5 /home/jomusto/public_html/wp-admin/plugins.php(192): plugin_sandbox_scrape('wf-cpanel-email...') #6 {main} thrown in /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/UAPI.php on line 58
When shell_exec ON + constant API in wp-config: WP Critical error
When shell_exec OFF + constant API in wp-config: WP Critical error
Constant used (working fine on previous version)
define( ‘WF_CPANEL_USER’, ‘jomusto’ );
define( ‘WF_CPANEL_API_TOKEN’, ‘3K99PSALVH0CS7YTGAC8KXVXUHFGBBNUK’ );Creating Backup:
– Working fine
– Default email notification to admin received.
– Can download backup file from within wp-admin (without need to actually refresh as per instructed)Deleting Backup:
– Throw WP Critical error within the setting area. no success.[20-Sep-2022 02:25:12 UTC] PHP Fatal error: Uncaught Error: Call to a member function delete() on null in /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/BackupTable.php:279 Stack trace: #0 /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/BackupTable.php(20): WebFacing\cPanel\Email\BackupTable->process_bulk_action() #1 /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/BackupPage.php(31): WebFacing\cPanel\Email\BackupTable->prepare_items() #2 /home/jomusto/public_html/wp-includes/class-wp-hook.php(307): WebFacing\cPanel\Email\BackupPage::WebFacing\cPanel\Email\{closure}('') #3 /home/jomusto/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #4 /home/jomusto/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #5 /home/jomusto/public_html/wp-admin/admin.php(259): do_action('cpanel-email_pa...') #6 {main} thrown in /home/jomusto/public_html/wp-content/plugins/wf-cpanel-email-accounts/includes/BackupTable.php on line 279
Questions & Comments
– Is it when the backup is completed, then it’s being moved to wp-content/cpanel/ folder? If so, this will require at least 2x of the backup size on disk free space.
– It looks like this release still require shell_exec ON + ini_set ON to be usable for my case. I prefer the one without shell_exec. Or if you can make it functional with either one being set (shell_exec or constant).
– On this version, backup delete is not working.
– Unable to test using only constant (without shel_exec) – Critica error.Thanks for your effort!
tested & works like charm! https://snipboard.io/8Clckg.jpg
email features are working fine too without shell_exec which is great!please consider adding the following in your next update:
– i think it’s better to maintain the current token handling method (on wp-config) instead of field box in wp-admin. but if you do, pls mask the token field.
– buttons to download & delete backup files
– for a small site, the backup file was created almost instantly, but for larger site it might takes more time or hours. so its good to at least popup a message once the ‘Add New’ button is clicked, like ‘Backup process is now starting…pls revisit this page after sometime. Bla bla..’
– If you can add the email notification in the API request, maybe can also put message in he popup like ‘we will notify you via the admin email once backup is completed’future updates maybe you can consider adding backup scheduling & retention.
The SB WordPress plugin does have setting to enable Transactional via SB. This covers all outgoing emails from WP including Woocommerce email. (tested)
But
The SB for Woocommerce plugin ONLY have settings to enable transactional email for Woocommerce email only such as order statuses, notes. But i tested, it worked too for other wordpress emails such as from form plugin.
I think you should mention in the plugin description that it does replace wp_mail once enabled in the settings so that there will be no confusion & conflict between other smtp plugins.
And my suggestion:
1. in the Sendinblue Email Sending Options – put a remark that once enabled, this will replace wp_mail.My other questions:
1. Will this create conflict with other smtp plugins when i enabled the sending via sendinblue option?
2. Any tutorial on use case of sending order price to sendinblue?thanks
Ok. i’ve enabled shell_exec. Got it activated. Cleared all my error logs. All the email features seems to be working ok. But when i go to the new cPanel Backup page, and click the Add New button, nothing happen…
Some new entries were created in the wp-admin/error_log. Please check it here https://pastebin.com/auKt93VxMay I know what will actually happen when i clicked the Add New button?
i’m getting this error upon activation.
Warning: require_once(includes/BackupTable.php): failed to open stream: No such file or directory in /home/myshop/public_html/wp-content/plugins/wf-cpanel-email-accounts/index.php on line 42some time snippet A is superior to snippet B. This will create conflict and possibly terminate B when A is triggered. To fix, combine B content into A, or use only one of them. Usually happened with woocommerce hooks/filters.
I’m glad that you found it workable.
And yes, a fall back to other methods than shell_exec is much appreciated since 80% (just my assumption after using dozens of popular web hosts) of the cpanel shared hosting out there forbid shell_exec for security purpose.
I think this plugin can get more install without the shell_exec requirement. For me, exposing the shell_exec on a wordpress environment will triple up the chances of the website getting compromised, especially for those with little knowledge of web security.