Uggh - moved the extension onto another build I have for testing (already had the previous extension version added) and received this when trying to log into the control panel:
Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, ‘publishimprove::add_copy_checkbox’ was given in /usr/local/www/site/system/core/core.extensions.php on line 189
I can’t seem to log into my control panel…
=========
I deleted the extension / language files - hoping I could then login in but now I get:
Error
Unable to load the following extension file:
ext.publishimprove.php
=====
Added back the previous version of the extension but received this:
Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, ‘publishimprove::change_template_tab_behavior’ was given in /usr/local/www/site/system/core/core.extensions.php on line 189
Rob Q: It’s very important to disable the extension before updating it. This is good advice for any extension, but required in this case.
I think (but I’m not positive, so BE CAREFUL) that you can fix this by editing your database directly, going to the exp_extensions table, and removing the hooks for this ‘publishimprove’ extension.
The exp_extensions table contains a list of the extensions you have installed, and the hooks that they will triggered on, and the name of the functions that will happen at that triggering time.
If you delete every row in that table that contains “publishimprove”, that should take care of your problem.
Another temporary solution would be to disable ALL extensions via the setting in your config file—it’s the “allow_extensions” setting—but you wouldn’t be able to re-enable them until you fixed the underlying problem.
A couple of problems I seem to be having with this extension:
I’m able to add a text link to the Upload icon/graphic but I’m unable to remove the Preview & Quick Save buttons or change the Submit button text. As far as I know, I’ve installed/enabled the extension properly and I’ve changed the Extension Settings to what I require.
I just installed this extension and I’ve come across this problem
Notice: Uninitialized string offset: 0 in /admin/extensions/ext.publishimprove.php on line 133
Notice: Uninitialized string offset: 0 in /admin/extensions/ext.publishimprove.php on line 204
Notice: Uninitialized string offset: 0 in /admin/extensions/ext.publishimprove.php on line 241
Notice: Uninitialized string offset: 0 in /admin/extensions/ext.publishimprove.php on line 242
Notice: Uninitialized string offset: 0 in /admin/extensions/ext.publishimprove.php on line 243
Notice: Uninitialized string offset: 0 in /admin/extensions/ext.publishimprove.php on line 307
Notice: Uninitialized string offset: 0 in /admin/extensions/ext.publishimprove.php on line 394
Was curious what could cause this since it’s just a notice I’m going to guess that it installed but the script is calling for a empty string. As I’m not the most profienct in php I’m not sure as to how to fix this.
Davenport, if the glitch was in the code, please let me know and I’ll include that in my next release. I hope to get a chance to revise it before the end of the month.
Yeah it was in the code. The code in itself is fine but it’s asking for input when none has been given. So the Notice shows up until you put in all your settings. Once you set your settings then the Notice disappears. Not a big deal but if someone didn’t realize that they need to put in their settings then it can come off as a shock.
Is this still working in 1.5.2? There are a couple of features that don’t seem to want to “take”, like changing Submit to Save and removing the Quick Save button.
* I have integrated the textarea extension into this extension....
WHAT DOES IT MEAN????
If you wish improve or extend functionality of the extension, let me know through forum or PM. I include your suggestion info next version with your credit. But DO NOT include other work under your work without any permission.