• I updated the plug-in from ver. 0.8.2 to ver. 1.0 and after clicking to return to plug-ins page I got a white screen. I could not open my site again, including on other browsers. I was forced to use FTP and delete the plug-in folder and then the site could be opened. There is a serious problem with the plug-in.

    Prior to this update, I updated on my test server running WordPress 4.0-alpha. Here the update appeared normal, but after selecting an image to delete the page froze and refreshing the page crashed Firefox. Suspecting a possible issue because of WP 4.0, I tried on WP 3.9.1, with the above results.

    https://wordpress.org/plugins/dnui-delete-not-used-image-wordpress/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author nicearma

    (@nicearma)

    i’m sorry about the problem, i put alots of javascript in the plugin, so maybe is because you use some old firefox? or i dont take into account an error.
    The blank page i think it was because i put index.php and not dnui.php, but i already fix the problem.
    Please if you know how to use the firefox console, see if you have any error and put in here.
    And tell me your version of firefox, mine is 29.0.1

    Hi,

    I’ve just updated to V1.0 and I too got a blank screen on both frontend and backend (I’m using Chrome browser)

    I disabled the plugin ( by renaming the directory via FTP ) and the site & admin came back no problem.

    However, I’ve now named the plugin directory back to “dnui-delete-not-used-image-wordpress” and when I try to reactivate it via the admin panel I get:

    Parse error: syntax error, unexpected ‘[‘ in

    /home/sites/northeasteventplanning.co.uk/public_html/wp-content/plugins/dnui-delete-not-used-image-wordpress/php/logic/dnuiL.php on line 29

    Is that any help in diagnosing the problem ?

    Regards,

    Mike

    Plugin Author nicearma

    (@nicearma)

    What is your php version? i think the problem is because i take PHP 5.4 syntax for array, so i will change that.

    nicearma,

    I’m currently running PHP V 5.3.28

    I’ve tried changing this to V5.5 using cPanel, but the site is still reporting 5.3.28 – it must take time to take effect.

    I’ll let you know if/when the change to V5.5 takes effect.

    Mike

    Plugin Author nicearma

    (@nicearma)

    I change the logic, so try, normaly the plugin will work, sorry about any problem made by the plugin

    Plugin Author nicearma

    (@nicearma)

    Is the version 1.1

    Hi,

    I deleted the plugin and loaded V1.1

    When I try to activate it, I get:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘[‘ in /home/sites/northeasteventplanning.co.uk/public_html/wp-content/plugins/dnui-delete-not-used-image-wordpress/php/logic/dnuiL.php on line 83

    ie. Same problem, on a different line number

    I’m still using PHP V 5.3.28

    Mike

    Plugin Author nicearma

    (@nicearma)

    yeah sorry is the same problem (i did not see) i will put my server in php 5.3 and change the logic for be compatible with 5.3

    Thread Starter Malae

    (@malae)

    Hi Nicolas,
    Hosting Server PHP Version 5.3.3
    XAMPP test Server: 5.5.1
    Firefox ver. 29.0.1
    Have now reverted to WordPress 3.9.1 on test server and installed DNUI ver. 1.1.
    The plug-in page opens ok as before, but still will not allow deletion of files.
    Firbug Console:

    POST http://localhost/wordpress/wp-admin/admin-ajax.php [HTTP/1.1 200 OK 429ms]
    <b>Warning</b>:  unlink(H:\xampp\htdocs\wordpress/wp-content/uploads//vinca_copper_idol-381x288.jpg): No such file or directory in <b>H:\xampp\htdocs\wordpress\wp-content\plugins\dnui-delete-not-used-image-wordpress\php\logic\dnuiL.php</b> on line <b>92</b><br />
    [{"id":"7061","toDelete":[["large-feature",false]]}]

    Note: prior to freezing after clicking ‘DELETE’ the image was there (I opened it), but apparently it was deleted.
    I will hold on my main web site until you advise the PHP semantics OK for version 5.3.3.

    Plugin Author nicearma

    (@nicearma)

    ok, yes is normal that the plugin freeze, because the plugin send html with json, i have to change the logic, and please see if you can see the image with the options, because i think your upload folder is not working find, you use the configuration /year/month/?

    Hi,

    I installed V1.2 just now, and it activates OK now. Thanks

    Not done any extensive testing, as I’ve no need, but many thanks for sorting this out

    Mike

    Thread Starter Malae

    (@malae)

    Have updated to version 1.1.2.
    Runs without problem, but on selecting the image that did not delete yesterday, which was on the last page, the page close and reopened on the first page as if just starting.Going again to the last page there was no change and the image was still listed as not-use (sic).
    Although the uploads was has a 2013 year folder, I do not use it because this site has all fixed pages, with few changes. I used the older DNUI version 0.8 for a long time and did not have any problems. When it found an image in the database that no longer existed it would explain that in the message.

    BTW, I sent you an e-mail to your nicearma.com address, but it was returned. Are the e-mail addresses on that domain no longer active?

    Plugin Author nicearma

    (@nicearma)

    MikepFive glad to hear that all work fine.
    Malae i had problems with the adresse so for the moment is down, i will put the logic for delete the image is not longer in the upload folder, i’m working to in others functions, so in the next week you will see changes.
    But in this week i will put the delete.
    Normally he have to stay in the page, but i had a bug in the logic, so i put one refresh for the moment, so like i said, that will change.

    Thread Starter Malae

    (@malae)

    Hi Nicolas,

    On one of my hosted sites, I have version 0.82 which is still working. On my test server, I have version 1.1.2 installed, which is not working. Today I saw a notification of version 1.2, but when I check the the changelog it is showing:
    1.1.1 Add in all array() for php 5.3
    1.1 Add select all Add array() for php 5.3
    1.0 Change of logic, server side and js
    What happened to version 0.82 and 1.1.2? I am trying to keep track of the changes because of the problems, which I have had.

    I have tried version 1.2 on my test server now running WP 3.9.1 and it seems to be broken, with none of the menu choices responding. This may be due to some issues from previous tries with version 1.1.2. I will check further when time permits.

    On a hosted server, I updated to version 1.2 and it worked until I had reviewed the two pages, but would not proceed further when clicking ‘Next’, although could go back to the previous page. On checking options I reset to ‘Last’ and tried again and had similar problems. From this I was able to determine that the first time it had not started at the first page, because trying again from ‘First’ it stopped at page 3, but I could go back many pages, i.e. back to before the first page. I am not clear what the “Number of page” setting is for, but in any case on returning to this it was greyed out and the Reset did not work.

    There still seems to be several issues including others I have not mentioned and it would be better to use e-mail to discuss, if you want my input.

    Plugin Author nicearma

    (@nicearma)

    Hi malae,

    Well the problem of the button next is because i put one rule, if the last result is less than the quantity ask, this means that there are not more image to show, so ask a next page is not logic, i see the problem to less the button like that so will put in the button next and before disabled when is not possible to do anything with then.

    LAST and FIRST means that you will search from the order of upload in your data base, the last upload will be the first result with LAST and the last if is FIRST , and numberOfPage is: if you have 60 images upload in your wordpress site, in plugin form quantity 20 and you have a value of 1 in numberOfPage this means thah the result will show the list from 20 to 40, if value is 2 the result will be the list from 40 to 06 and if value is 0 -> 0 to 20, that way when you change the to last you cant do next because you are in the last values of this order

    The button reset is not working for the moment, so normally if you made next this value increases and before decreases but i see that the plugin have a bug because is not updating this value (you will see if you made refresh in your browser) i will fix this tonight.

    If i remenber the rules of wordpress.org, i cant put my email here, but i will fix my blog and update it, that way you can send me more information.

    I will put some information about what is what in the option page.

    And for change made from 0.82 to 1.2 it will be a lots to explain, but in a few words i put Backbonejs for the html, this will call the php code only for get information, this is more fast and less expensive to the server.

    Thanks again for your feedback, always is nice to see someone concerned about my plugin and who sent me feedback polite

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘DNUI Version 1.0 causes white screen’ is closed to new replies.