wp-quotes – add quotes hack

Uncategorized

I use the wp-quotes wordpress plugin to display quotes (version 1.3 ). It didn't work for me first. I wasn't able to put quotes into the database. If you have the same problem, make sure the edit-quotes url is wp-admin/edit-quotes.php and not wp-admin/edit.php?page=edit-quotes.php

I tried to apply the following hack, but it doesn't work as expected:

Replace in line 317 in edit-quotes.php action="<?php echo $_SERVER['PHP_SELF']?>" with action="edit-quotes.php" .

Placing edit-quotes.php into a different directory might work, because wordpress seems to direct post-attempt from 'wp-admin/edit.php?page=edit-quotes.php' to 'wp-admin/edit.php' instead of 'wp-admin/edit-quotes.php'. But even after editing line 7 this results in a warning: "Warning: main(): open_basedir restriction in effect. File(/journal/wp-admin/admin.php) is not within the allowed path(s): (/www/web1171:/tmp) in /www/web1171/html/journal/wp-content/plugins/wp-quotes/edit-quotes.php on line 8"

Even putting redirecting in /.htaccess doesn't seem to work! Tjee: REDIRECT /journal/wp-admin/edit.php?page=edit-quotes.php http://www.robertbuzink.nl/journal/wp-admin/edit-quotes.php

Tags: , ,

3 Comments

  1. jooey says:

    I’ve meet the same problem, how do you solve that eventually?

  2. I insert them directly in the mySQL-database. works fine :-)

  3. Changing the url from http://www.robertbuzink.nl/journal/wp-admin/edit.php?page=edit-quotes.php to http://www.robertbuzink.nl/journal/wp-admin/edit-quotes.php before adding a quote works also fine, though, and might be more convenient…

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>