dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by Phylu 1 year 42 weeks ago

pic
 Phylu
mobiForge Newbie
Posts: 3
Joined: 1 year ago
[offline]

I usually have wordpress installed in the subdirectory wordpress on my webserver. While accessing it through the parrent directory, where the wordpress index.php lies.

The wordpress mobile pack unfortunately pointed the img-Tags to the place of the images, but the wordpress directory was missing.

As I can’t open a ticket on assembla, here is my bugfix:

Replace line 485 in the file wpmp_transcoder.php. Original line:
$base = get_option('home') . "/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_transcoder/";
Working line:
$base = get_bloginfo('wpurl') . "/wp-content/plugins/wordpress-mobile-pack/plugins/wpmp_transcoder/";

get_option('siteurl') should work as well.

Best regards
Phylu

Posted by Phylu 1 year ago

pic
 Phylu
mobiForge Newbie
Posts: 3
Joined: 1 year ago
[offline]

I have just recognized, the same issue is valid for all the links in the administratior backend, even logging in is only possible through manipulating the url.