I have been wanting upload buttons on the P2 theme for a long time and finally they have arrived with the introduced of the latest version of P2. I have 2.9 beta installed with P2 however I am having problems with the media part.
Firstly the add media buttons do not show correctly. The reason is that there seems to be an extra 'p2' in the source code for the buttons. It is outputting this:
http://localhost:8888/p2:8888/p2/wp-admin/images/media-button-image.gif
Instead of this:
http://localhost:8888/p2/wp-admin/images/media-button-image.gif
Anyone know why? The same is happening to the link that media button goes to. When clicked it is going to:
http://localhost:8888/p2:8888/p2/wp-admin/media-upload.php?p2-upload=true&post_id=0&type=image&TB_iframe=true
Instead of:
http://localhost:8888/p2/wp-admin/media-upload.php?p2-upload=true&post_id=0&type=image&TB_iframe=true
Any help would be appreciated. Thanks
1.1.2 Should fix this to a certain extent. Of course any patches are welcome :)
Thanks for getting back to me.
I have upgraded and the problem still persists. Going to try and fresh install instead and then will report back.
fivestar
Member
Posted 2 years ago #
I am also having this problem. It appears that the path is adding the blog directory twice. In my case, my blog is in a folder called blog (how original). Instead of the image using:
/blog/wp-admin/images/media-button-image.gif
It uses this:
/blog/blog/wp-admin/images/media-button-image.gif
Thanks for any assistance you can offer.
Greg
duckies
Member
Posted 2 years ago #
And the same problem for me.. /twitter/twitter/wp-admin/images/ ...
tableleg
Member
Posted 2 years ago #
I have exactly the same problem. However it's only a problem with the front page posting form. The problem doesn't occur with the user dashboard form. Disappointing that there's no fix for this as it makes the theme a bit useless for blogs with a lot of users.
Version 1.1.3 seemed to fix the problem for me