heldercervantes Posted October 3, 2016 Share Posted October 3, 2016 I'm getting this weird error, any idea how to get around it? I was having problems importing content via API. I had a bunch of tech PDF files to add to a products catalogue and the online server was timing out in the operation. So I used Ryan's ProcessDatabaseBackups module to grab the DB from the online server and downloaded the whole assets directory to update my local version, then did the PDF import locally. Then I used the same module to overwrite the online DB and reuploaded the assets folder. Now there's a first section of products that work fine, as does the rest of the site, but getting to an image from the second section on PW crashes and outputs this error. The same page that outputs this, when edited on the CMS shows no problems. I've also checked permissions and even went 777 on the whole thing, but no cigar. Error: Exception: Unable to create temp dir - /var/www/vhosts/isma.pt/httpdocs/site/assets/cache/WireTempDir/.PagefilesManager2231/1/ (in /var/www/vhosts/isma.pt/httpdocs/wire/core/WireTempDir.php line 113) #0 /var/www/vhosts/isma.pt/httpdocs/wire/core/PagefilesManager.php(473): WireTempDir->get() #1 /var/www/vhosts/isma.pt/httpdocs/wire/core/Pageimage.php(361): PagefilesManager->getTempPath() #2 /var/www/vhosts/isma.pt/httpdocs/wire/core/Pageimage.php(245): Pageimage->___size(270, 284, Array) #3 /var/www/vhosts/isma.pt/httpdocs/site/templates/product.php(39): Pageimage->size(270, 284) #4 /var/www/vhosts/isma.pt/httpdocs/wire/core/TemplateFile.php(182): require('/var/www/vhosts...') #5 [internal function]: TemplateFile->___render() #6 /var/www/vhosts/isma.pt/httpdocs/wire/core/Wire.php(398): call_user_func_array(Array, Array) #7 /var/www/vhosts/isma.pt/httpdocs/wire/core/Wire.php(333): Wire->runHooks('render', Array) #8 /var/www/vhosts/isma.pt/httpdocs/wire/modules/PageRender.module(422): Wire->__call('render', Arr Link to comment Share on other sites More sharing options...
szabesz Posted October 4, 2016 Share Posted October 4, 2016 18 hours ago, heldercervantes said: So I used Ryan's ProcessDatabaseBackups module to grab the DB from the online server Did you exclude the "caches" table? Link to comment Share on other sites More sharing options...
heldercervantes Posted October 4, 2016 Author Share Posted October 4, 2016 Nope. Left "backup all tables" checked. Link to comment Share on other sites More sharing options...
Robin S Posted October 4, 2016 Share Posted October 4, 2016 Just guesses here... Perhaps you should empty all caches before making your profile backup. ClearCacheAdmin would be useful for that. If you FTP to the problem directory, do you see anything there that might be preventing the creation of the temp directory? For example, an existing directory of the same name. You could also try a more traditional migration (i.e. zip/ftp/extract files, export/import db via phpMyAdmin). 1 Link to comment Share on other sites More sharing options...
heldercervantes Posted October 12, 2016 Author Share Posted October 12, 2016 Well, turns out it was a hosting problem. The account wasn't properly configured and ran out of space 2 Link to comment Share on other sites More sharing options...
eelkenet Posted April 28, 2020 Share Posted April 28, 2020 On 10/12/2016 at 8:51 PM, heldercervantes said: Well, turns out it was a hosting problem. The account wasn't properly configured and ran out of space Ran into this problem today, thanks for asking this question 3,5 years ago @heldercervantes. Would have been hard to debug if you hadn't. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now