Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Multisite »

3.7.12 Multisite: not resolving header image paths correctly


  #1  
Old Apr 19, 2013, 08:19 AM
tommcgee
 
2 posts · Apr 2013
3.7.12 Multisite: not resolving header image paths correctly

Between the settings for image locations and the names of header files, I ran into a strange problem.

The file /functions/bfa_rotating_header_images.php has a test for whether the directory stored as $imgpath can be opened. If it fails, it throws the error "the folder permission or path to your header image folder is incorrect."

Even when the header image is visible, the error message still showed. When I tweaked the settings to make the error message go away, the image returned "not found."

To make the image appear, I had the relative location at wp-content, the images directory set to blogs.dir/xxx/files/wherever, and the image set to logo.png or background.png.

I ended up just commenting out the line in the php file that showed the error, though that's obviously not the best solution.
  #2  
Old Apr 19, 2013, 10:09 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
so you created something like
blogs.dir
site1 site2 site3
files files files

did you try this way
site1 site2 site3
header header header
  #3  
Old Apr 19, 2013, 12:30 PM
tommcgee
 
2 posts · Apr 2013
I did try that, without success.

But more importantly, that would require manual intervention for every blog in our multi-site installation that uses (or may use in the future) Atahualpa. And it would be a directory inaccessible to the WordPress back-end -- I'd have to create directories and move logos into them through the filesystem.

Unless I'm missing something.
  #4  
Old Apr 19, 2013, 01:46 PM
qbuster's Avatar
qbuster
 
84 posts · Mar 2010
Alrewas, Staffordshire, UK
I'm having a similar problem sorting out the path of my logo image now that I have upgraded to 3.7.12.

I've noted the new sections in ATO related to images and have tried to follow the logic but something was still not right.

I then noticed that I had a new .restored folder and I found my missing images in there and moving them back to atahualpa/images solved the problem.

Is this .restored folder a new feature WP 3.5.1?
  #5  
Old Apr 19, 2013, 02:13 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you make sure the file permissions were correct?
did you name the folder in the atahualpa theme options for the sites?
  #6  
Old Apr 19, 2013, 02:40 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
if you want to put the images in the 'blogs.dir\nn' folder just set the ato->Image Locations->images Directory to someting like 'blogs.dir/2/ata-images'

Make sure the ata-images' and 'ata-images/header' folders have a permission of 755 and the files in them have a permission of 644.
  #7  
Old Sep 20, 2013, 12:36 PM
d_random
 
51 posts · Apr 2009
This worked for me.

EXAMPLE:

Edit the site (Network -> Sites -> Edit -> Settings ) and change the following parameters:

Upload Path wp-content/uploads
Fileupload Url http://www.mydomain.com/wp-content/uploads

P.S. Make sure the chmod is set for 777 on the uploads folder.

P.P.S. This will effect your image uploads for new pages, the old pages will still default to blogs.dir. But you can always go to the blogs.dir folder it is trying to upload to and change the chmod to 777.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make the header image fit correctly? LauraZ Header configuration & styling 1 Mar 19, 2013 04:08 PM
Multisite header images array atahualpa376 Aubergine Multisite 4 Oct 4, 2012 02:22 PM
[SOLVED] Auto Updating Header Image Loss and Seperate Rotating on MultiSite, MultiNet LANtait Header configuration & styling 2 Jun 8, 2011 11:18 PM
3.51 paths gnosis New Versions, & Updating 3 Jul 6, 2010 09:55 AM


All times are GMT -6. The time now is 08:26 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.