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 » Header configuration & styling »

[SOLVED] Error Message when Replacing Header


  #1  
Old May 11, 2012, 10:37 AM
TheHealthyHostess
 
20 posts · Jul 2010
I have been getting the following error message when trying to put in my new header. Is this something I can fix?
Help please!!
I left hte message up on my site: www.thehealthyhostess.com

Warning: sort() expects parameter 1 to be array, string given in /home/content/07/5418807/html/wp-content/themes/atahualpa/functions/bfa_rotating_header_images.php on line 40

Warning: Invalid argument supplied for foreach() in /home/content/07/5418807/html/wp-content/themes/atahualpa/functions/bfa_rotating_header_images.php on line 47

Warning: array_rand() [function.array-rand]: First argument has to be an array in /home/content/07/5418807/html/wp-content/themes/atahualpa/functions/bfa_header_config.php on line 302


Thanks somuch!
  #2  
Old May 11, 2012, 11:23 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
How are you putting in the new header? You should just be uploading images to the header folder.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old May 11, 2012, 11:24 AM
TheHealthyHostess
 
20 posts · Jul 2010
Yes! I am just putting them in the header image folder. Any tips on what could be wrong?
Thanks
  #4  
Old May 11, 2012, 11:33 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Did you have images that were working? What are the image file names?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old May 11, 2012, 11:39 AM
TheHealthyHostess
 
20 posts · Jul 2010
Healthy_Hostess_header_1.jpeg
or this one:
Healthy_Hostess_header_2.jpeg
  #6  
Old May 11, 2012, 11:50 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Make sure the images are in the atahualpa/images/header folder.
Are there any other images there?
What are the file permissions?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old May 11, 2012, 12:54 PM
TheHealthyHostess
 
20 posts · Jul 2010
The permissions are set to :
Web visible
Web: read
Owner : read write
  #8  
Old May 11, 2012, 12:57 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This error happens when the theme can't find any files in the 'header' folder. To verify a file is there you should be able to enter the full path of the image in the browser address bar and the image should appear. If it doesn't this error will occure.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; May 11, 2012 at 01:00 PM.
  #9  
Old May 11, 2012, 01:41 PM
TheHealthyHostess
 
20 posts · Jul 2010
file:///Users/aliphively/Desktop/Healthy_Hostess_header_1.jpeg
that is the path...does that seem right or make sense?
When I put it in my browser window it does show up?!
  #10  
Old May 11, 2012, 01:50 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
The files need to be on the server so the path would be
HTML Code:
http://thehealthyhostess.com/wp-content/themes/atahualpa/images/header/Healthy_Hostess_header_1.jpeg
it's the folder that the default images were in.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old May 14, 2012, 06:11 AM
TheHealthyHostess
 
20 posts · Jul 2010
Hmm.. it looks like it's in that folder. Any tips on making sure it is?
  #12  
Old May 14, 2012, 06:21 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Check the file permissions
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #13  
Old May 14, 2012, 06:22 AM
TheHealthyHostess
 
20 posts · Jul 2010
Should it be a jpg file instead of jpeg? Does that matter? What about gif file? Would that work?
  #14  
Old May 14, 2012, 06:24 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If it is a jpg use that extension
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #15  
Old May 14, 2012, 06:57 AM
TheHealthyHostess
 
20 posts · Jul 2010
The file I was sent was labeled jpeg. Should I ask my designer for the jpg?
  #16  
Old May 14, 2012, 07:32 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try renaming it to .jpg
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #17  
Old May 14, 2012, 10:00 AM
TheHealthyHostess
 
20 posts · Jul 2010
Still not working. It keep coming up on my computer as a jpeg. Is there a setting I can change?
Thanks so much for your patience!
  #18  
Old May 14, 2012, 10:10 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Quote:
Originally Posted by TheHealthyHostess
Still not working. It keep coming up on my computer as a jpeg.
Can you explain what you mean but that? Are you making the changes on the server or on your desktop? Do you use an FTP client for these changes?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #19  
Old May 14, 2012, 10:31 AM
TheHealthyHostess
 
20 posts · Jul 2010
I use GoDaddy FTP client but have been making the changes on my laptop (Mac). I try resaving the image as a jpg but it saves as jpeg. Should that make a difference?
What should I try? Should I save them differently on the ftp client?
  #20  
Old May 14, 2012, 10:37 AM
TheHealthyHostess
 
20 posts · Jul 2010
http://thehealthyhostess.com/

I changed the name of hte file on my ftp client and look at what it did! So confused!
  #21  
Old May 14, 2012, 10:53 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
What is confusing. Now your image is showing although you need to change your height setting in ATO>Header Image
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #22  
Old May 14, 2012, 12:14 PM
TheHealthyHostess
 
20 posts · Jul 2010
Thank you so much! I resized the header and it's working!
Thank you Thank you Thank you!

Bookmarks

Tags
error, header, image

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /hsphere/lo Candy Atahualpa 3 Wordpress theme 1 Oct 31, 2010 03:00 PM
Error Message paulharrisjr Atahualpa 3 Wordpress theme 1 May 23, 2009 10:11 AM
Keep getting error message Jerry Atahualpa 3 Wordpress theme 1 Apr 4, 2009 10:28 PM
What does this error message mean? chiaxiong Atahualpa 3 Wordpress theme 1 Mar 31, 2009 12:05 AM


All times are GMT -6. The time now is 04:19 AM.


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