Jump to content

White Pages


cyberduck9

Recommended Posts

Posted

Whenever I upgrade the forum or install an application I am experiencing that all the URL's pointing to CSS/JS and/or other rescources are wrong and a white page will show. In order to fix it I have to do the following everytime I do an upgrade:

pico datastore/storageConfigurations.9d6975e26b.php should look like:

  1. <?php
  2.  
  3. return <<<'VALUE'
  4. {"1":{"id":1,"method":"FileSystem","configuration":"{\"dir\":\"{root}\\\/uploads\",\"url\":\"uploads\"}"}}
  5. VALUE;

the url property tends to have the wrong value in the form http://***.***.***.***/oldforum/

and

sudo find . -type f -exec sed -i 's/http:\\\/\\\/***.***.***.***\\\/oldforum\\\///g' {} +
 
and  
 
sudo find . -type f -exec sed -i 's/http:\/\/***.***.***.***\/oldforum\///g' {} +

Only then my forum starts working again. Why does this happen? When I try and figure out if there's any string containing oldforum I see 0 references after fixing the forum manually.

 

Edit:

Most urls have this form: http://website.com/http://***.***.***.***/oldforum/uploads/...

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...