By gusaus on
I'm getting a message like this when I try to set up a new preset:
Table 'drupal.imagecache_preset' doesn't exist query: SELECT presetid, presetname FROM imagecache_preset ORDER BY presetname in...
Also not sure where to modify the htaccess file:
http://drupal.org/node/87275#comment-161680
Any help with this will be most appreciated!!
Regards,
Gus
Comments
Hi, I pressume you are on
Hi,
I pressume you are on Linux, Unix or a Mac. In which case you need to open up terminal and....
You need to .....
you should now be able to see .htaccess in the list of files displayed
then...
change the content of the .htacces file to ...
Hope that helps,
Openmind
if i'm following you correctly...
i'm supposed to replace this...
with this....
if so, i wasn't even able to access the site after i made that change.
am i missing something?
many thanks!
---------------------------------------
Gus Austin
Just edit two lines
You need to edit two lines in the .htaccess file, as explained in the modules' description, http://drupal.org/project/imagecache. Change the line
to
and the line
to
Also, the database error suggests the needed tables weren't created. The easiest way to fix this is to install the devel module and use it's 'reinstall modules' functionality. Then be sure to turn off devel again if you're on a production server.
Can't find those lines...
My .htaccess file looks like this -
http://drupal.org/node/90224#comment-164838
I'm not finding these lines, thus I can't figure out where to make the changes:
I appreciate the assistance so far - and thanks again in advance!
---------------------------------------
Gus Austin
That looks like it should work
Equivalent versions of two needed instructions look to be there in the default .htaccess file, so presumably no edits are needed. Ensure your tables are there and, seemingly, you should be good to go.
Tables are back...
The devel module did the trick in getting the tables back (thanks!) - unfortunately I'm now back to the first problem --
When I try to create an action (imagecache Administration), I'm prompted with a 'No input file specified.' message.
So if it's not a problem with the .htaccess file, uhhhh... guess it's back to the drawing board.
Thanks
Gus
---------------------------------------
Gus Austin
No input file specified?
Has anybody had that message when trying to create an action in imagecache? Any resolve on this would be much appreciated!
---------------------------------------
Gus Austin
wrong file
You were looking at the wrong file. There is the long on in the root of the drupal installation, and a short one in the files directory. Edit the short one in files.
Chris
No freaking way!!
I can't believe it turned out to be so easy. Wondering if I'm the only fool who was looking at the wrong .htaccess file.
Thank you so much Chris!!!
---------------------------------------
Gus Austin