Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter John Beckmann

    (@johnbeckmann)

    After a lot of tries I found the point of origin of the problem.

    First of all: the phpFlickr.php looks for storage of the cache. Storing the cache on the database doesn’t work for me for some reason. It tries to store it on the webserver.

    Multisite main page [the english one]
    phpFlickr.php knows where the storage on the webserver is:
    “/homepages/0/d405176519/htdocs/clickandbuilds/Timelapsesandmore/wp-content/uploads/phpFlickrCache”

    Multisite second page [the german one]
    phpFlickr.php does NOT know where the storage is, it presumes it is here:
    “/” [which is then homepages]

    Since I get from my webhoster access after /clickandbuilds/ I cannot make a chmod 777 folder in homepages. And the plugin needs a chmod of 777 to write the cache.
    (The stuff until htdocs is from my webhoster, probably their internal routing between their hundreds of servers. )

    How to solve it:
    Change the directory in phpFlickr.php!

    elseif ($this->cache == 'fs') {
    				$file = $this->cache_dir . '/homepages/0/d405176519/htdocs/clickandbuilds/Timelapsesandmore/wp-content/uploads/phpFlickrCache/chmod777/flickr-cache' . $reqhash . '.cache';
    				if (file_exists($file)) {

    I changed it in the line 120, 156 & 194.

    I don’t know if it works for you, but maybe it gives the right hint to solve the problem.

Viewing 1 replies (of 1 total)