WordPress.org

Ready to get started?Download WordPress

Forums

Simple Dropbox Upload
[resolved] Missing wpsdb-style.css (11 posts)

  1. mikeotgaar
    Member
    Posted 2 years ago #

    Getting 404 "not found for wpsdb-style.css after updating plugin to latest version 1.8.2 from earlier version 1.5.3 (1.7.0 broke site admin)

    Plugin is adding <link rel="stylesheet" href="wpsdb-style.css?build=20120714" type="text/css" media="screen" /> to every page on site, not only the page using the upload form (password protected so not available)

    Reference to missing file in line 88-89 of wp-dropbox.php

    function wpsdb_build_stylesheet_url() {
        echo '<link rel="stylesheet" href="' . $url . 'wpsdb-style.css?build=' . date( "Ymd", strtotime( '-24 days' ) ) . '" type="text/css" media="screen" />';

    Site URL http://tech.graphicline.co.za/
    For now I have uploaded the css file from an older plugin version - looks like that solved the missing file message - will keep an eye on it

    http://wordpress.org/extend/plugins/simple-dropbox-upload-form/

  2. castortray
    Member
    Posted 2 years ago #

    can you pls share your working plugin ?

  3. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    @mikeotgaar: I am about to upload an updated version. Would it be possible for you to download the developers version and test it before I commit the update?http://downloads.wordpress.org/plugin/simple-dropbox-upload-form.zip

    @castortray: A question like that does not help me fix your issue if you don't tell me what the issue is!

  4. mikeotgaar
    Member
    Posted 2 years ago #

    @hiphopsmurf
    I'm going to do it now...

  5. mikeotgaar
    Member
    Posted 2 years ago #

    OK,
    1. Clicking the stylesheet link in source opens the stylesheet - Looks like the css is OK - but I will watch the 404 log and see if any pages served to visitors trigger more errors and advise further

    2. File upload succesful using CURL..
    BUT
    3. Error loading page (shortcode page) when PHP method set:
    Fatal error: Call to a member function setToken() on a non-object in /home/******/public_html/tech/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on line 246

    Server info:
    PHP version: 5.2.17
    PERL: 5.8.8
    MySQL: 5.5.24-cll
    Apache: 2.2.22
    Architecture: x86_64

    Hope this helps...

  6. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    I am going to be rewording that option since it's a little confusing. The PHP option is to tell the plugin to use PHP oAuth extension which I have come to find out most hosts don't support and if your on a VPS it's an extension you need to install from the control panel. Most every host supports curl so leaving that as the default is suggested.

  7. mikeotgaar
    Member
    Posted 2 years ago #

    Right - that explains it... That site's on shared hosting, but they would probably install it if I twisted their arm. But not a problem - just wanted to give you as much feedback as possible..
    I'll leave the dev version in place now. Tomorrow, if no more 404's will mark this topic resolved, or report back otherwise
    PS: Great response speed to bug report :) !!

  8. mikeotgaar
    Member
    Posted 2 years ago #

    More on the missing CSS.
    I started seeing the 404 again.
    I've narrowed it down to caching. From what I can see, the generated CSS file changed build number and cached pages still had the expired file reference. E.G.
    Yesterday the file referenced wpsdb-style.css?build=20120714
    Today's is wpsdb-style.css?build=20120715
    Clearing the cache fixes the reference
    (NOTE: For my use I can refresh the cache more often - currently set to once a day with the whole site being auto-cached - or just mark the error as ignored.)
    If you would like any further dev version testing, no problem...

  9. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    Which cache plugin do you use? I added a few headers to the function that builds the css file to prevent that file from being cached. If you would like to give it a shot that would be great.

  10. mikeotgaar
    Member
    Posted 2 years ago #

    I'm using Quick Cache on that site
    I'll install the latest dev version and report back -

  11. mikeotgaar
    Member
    Posted 2 years ago #

    Been using the latest dev cesion for a few days now - the CSS file is still being cached - and expiring...
    I'm going to add wpsdb-style to the URL pattern cache exclusion in Quick Cache. That should stop caching the file.
    Once again, if you want more dev testing, happy to oblige.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags