Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter oneguy

    (@oneguy)

    Anyone?
    Please?

    Thread Starter oneguy

    (@oneguy)

    Hi Jacob
    I really need help in setting the plugin –
    I didn’t understand what to do with the plugin and how to set it up.
    I need to finish a web site for my client and I wouldn’t find any other solution.
    Thanks
    Guy

    Plugin Author Jacob Dunn

    (@spacemanspud)

    Geeze oneguy, sorry for not answering this. I rely on an RSS feed to notify me of requests, but it appears that this thread wasn’t added…something odd going on with WordPress.org.

    As to your issues, it appears that you missed a trailing slash in the base URL. You should be using the following, instead:

    {base-url}/slir/

    If that still doesn’t work (the site being in a subfolder, and the tilde in the url may be causing issues) then you can use the following base URL as a quick fix:

    {plugin-url}/slir/index.php?r=

    Sorry for the huge delay – I got back to you as soon as I found out about the post, but that may have been two weeks too late. Let me know if that fixes the issue, if you’re still using the plugin.

    Thread Starter oneguy

    (@oneguy)

    Oh Thank You Jacob!
    Still no good news….

    Besides activating the plugin and putting this line on the setting and saving the changes – Do I need to do anything else?

    After I’m saving I get this sentence instead –

    http://80.179.140.91/~orgad/slir/

    Also My .ataccess fie looks like that –

    # BEGIN WPResponsiveImages

    RewriteRule ^slir(.*)$ /wp-content/plugins/pb-responsive-images/slir/index.php?r=$1 [L]

    # END WPResponsiveImages

    # BEGIN WordPress

    # END WordPress

    Anything Else I need to look for?

    Thread Starter oneguy

    (@oneguy)

    Sorry –

    .htaccess 🙂

    Plugin Author Jacob Dunn

    (@spacemanspud)

    Looks like you don’t have pretty permalinks enabled for WordPress at all. I’d go ahead and use the following base url, instead:

    {plugin-url}/slir/index.php?r=

    That should fix it – no need to mess with rewrites if you aren’t using them for your pages.

    Thread Starter oneguy

    (@oneguy)

    Thanks!

    I’m using now permalinks, but even without permalinks I get this sentence after saving the setting with

    {plugin-url}/slir/index.php?r=

    transformed into –

    http://80.179.140.91/~orgad/wp-content/plugins/pb-responsive-images/slir/index.php?r=

    This is the path to the image –

    http://80.179.140.91/~orgad/wp-content/plugins/pb-responsive-images/slir/index.php?r=w584/wp-content/uploads/2012/07/cooper.jpg

    Maybe you can help better if you will have access to my admin?

    Thanks a lot for all the help – this is really important for me!

    Thread Starter oneguy

    (@oneguy)

    Besides all this – Do I need to alter anything in the code inside the theme?

    Plugin Author Jacob Dunn

    (@spacemanspud)

    You shouldn’t have to alter anything. That path to the image is correct, it looks like you have another error occurring. I can’t tell what it is from the generic error screen, but it may be related to a bug I’ve found with wordpress being hosted out of a subfolder. I’m going to be doing some testing on my own, to see if I can replicate and correct it. However, if you could find out the specific error message being thrown, it may help.

    Thread Starter oneguy

    (@oneguy)

    I don’t really know how to look for errors.
    Still- I fit will help you get into the admin – Just tell me…
    Or maybe we should just wait for the site to go live?
    Thanks
    Guy

    Plugin Author Jacob Dunn

    (@spacemanspud)

    Ok – I’ve resolved a new bug with subdirectory installs. If you’d like to try that out, it’s available here:

    http://downloads.wordpress.org/plugin/pb-responsive-images.1.4.zip

    If that doesn’t work, we can look at how to find those php errors for you.

    Thread Starter oneguy

    (@oneguy)

    Thanks.

    It still doesn’t work…

    I looked into my .htaccess file and saw that a dew lines were added there –

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /~orgad/
    RewriteRule ^index\.php$ – [L]
    RewriteRule ^wp-content/plugins/pb-responsive-images/slir/index.php?r=([^/]*)/(.*)$ /~orgad/wp-content/plugins/pb-responsive-images/slir/index.php?r=$1/~orgad/$2 [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /~orgad/index.php [L]
    </IfModule>

    Is that right?

    Now I get this sentence –

    http://80.179.140.91/~orgad/wp-content/plugins/pb-responsive-images/slir/index.php?r=

    The image path is this –

    http://80.179.140.91/~orgad/wp-content/plugins/pb-responsive-images/slir/index.php?r=w584/wp-content/uploads/2012/09/DAF-MOZAR-BUTTON.jpg

    http://80.179.140.91/~orgad/%D7%9E%D7%95%D7%A6%D7%A8%D7%99%D7%9D/%D7%AA%D7%90%D7%95%D7%A8%D7%AA-%D7%97%D7%95%D7%A5/%D7%AA%D7%90%D7%95%D7%A8%D7%AA-%D7%9B%D7%91%D7%99%D7%A9%D7%99%D7%9D-%D7%A8%D7%97%D7%95%D7%91%D7%95%D7%AA/rc-led/

    ThANKS FOR YOUR EFFORT!

    Guy

    Plugin Author Jacob Dunn

    (@spacemanspud)

    Lol. Excellent. That .htaccess rule shouldn’t insert, I’ll have to look at that. Go ahead and delete the following line:

    RewriteRule ^wp-content/plugins/pb-responsive-images/slir/index.php?r=([^/]*)/(.*)$ /~orgad/wp-content/plugins/pb-responsive-images/slir/index.php?r=$1/~orgad/$2 [QSA,L]

    We don’t want that extra complexity right now, it would be nice to just see an image, right?

    Thread Starter oneguy

    (@oneguy)

    OK
    Now there is only this there –

    # BEGIN WPResponsiveImages

    # END WPResponsiveImages

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /~orgad/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /~orgad/index.php [L]
    </IfModule>

    # END WordPress

    What should I try to write in the setting page of the plugin?
    Still can’t see the images…

    This is like a mystery tale…

    Plugin Author Jacob Dunn

    (@spacemanspud)

    Well, that .htaccess file looks fine, now. We’re bypassing it, so this isn’t the issue. We DO need to find out what actual error you’re throwing. Try pasting the following into the index.php file throwing the error:

    ini_set('display_errors', 1);
     ini_set('log_errors', 1);
     ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
     error_reporting(E_ALL);

    That should output the error. For the future, I’d recommend on getting your server configuration set up to display errors if you’re using it for development. If the script above doesn’t show the relevant errors, it may be worth googling php error reporting to get that set up.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘My patht to the image is broken…’ is closed to new replies.