Support » Plugin: Google Drive WP Media » Error with the URL Rewrite

  • Resolved HgtuRgg



    You just added a great feature. However, it seems there is an issue in implementing this. I am getting the following error when I clicked on the non-visible image link

    Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /*****/********/public_html/ on line 4

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have with the URL Rewrite too.
    I create folder and files. But when I try to upload new media through Add media I have error upload.
    See picture at bottom of page:

    Plugin Author Moch Amir


    @kalyan Brata Das, you have manually add index.php file, right?
    edit index.php
    change this line

    $gdurl = "$_GET['imgid']&export=view";


    $gdurl = "" . $_GET['imgid'] . "&export=view";

    @sjnhguvlgrpv, if you create index.php manually then you can try to edit it too

    i’ll fix this, thanks.



    just what the doctor ordered… thank you very much Moch.. It’s perfectly working now.. really thankful for your lovely support.. kudos..

    Thanks Moch! Its working. You are great man 🙂
    It would be still very good, if you added the ability to:
    WP to sliced ​​images of different sizes and save them to google drive. Because now all the pictures on Google Drive it scales using css.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error with the URL Rewrite’ is closed to new replies.