Support » Plugin: Simple Dropbox Upload » [Plugin: Simple Dropbox Upload] Missing wpsdb-style.css

  • Resolved mikeotgaar


    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
    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

Viewing 10 replies - 1 through 10 (of 10 total)
  • can you pls share your working plugin ?

    Plugin Author hiphopsmurf


    @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?

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

    I’m going to do it now…

    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..
    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…

    Plugin Author hiphopsmurf


    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.

    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 🙂 !!

    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…

    Plugin Author hiphopsmurf


    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.

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

    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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Simple Dropbox Upload] Missing wpsdb-style.css’ is closed to new replies.