• Resolved mkastner

    (@mkastner)


    I’m in a real pickle and need some help from minds greater than I. Despite pulling out every trick I can think of, I have been unable to view any of my NextGen images since upgrading to the new version of the Nextgen Gallery plugin and WordPress 2.7.

    When updating to the new wordpress and nextgen I got the notice to update the nextgen database. The process began, but timed out when it got to the date and time stage. The date now reads incorrectly and I can’t access images that are handled through nextgen. They are still on the server, but the url path leads to a 404 error. I have attempted the database fix discussed on the forum and various permalink fixes, but nothing works.

    Unfortunately, when I do a reinstall I am not prompted to update my database. I have about 40 galleries in place, so I am loath to delete the database unless I have to. I have tried activating and deactivating permalink and changed the path and defaulted it and nothing works. I assume it can all be traced back to the upgrade.

    Is there any manual workaround to force the nextgen database to update again? Thanks in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter mkastner

    (@mkastner)

    After hours of digging I finally found the culprit. I use another plugin called Role Scoper which had actually altered my .htaccess file with some pretty weird script. If was redirecting all image requests with the following:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteRule ^(.*)uploaded_images/(.*) /index.php?attachment=$2&scoper_rewrite=1 [NC,L]
    </IfModule>

    This was buried amongst gobs of other code and it hadn’t stood out when I looked at the file before. After deleting it I can view my images again. Even the dates wit the images are displaying correctly again.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] Gallery database and permalinks messed up’ is closed to new replies.