|
#1
May 11, 2012, 10:37 AM
|
|
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
May 11, 2012, 11:23 AM
|
|
|
|
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
May 11, 2012, 11:24 AM
|
|
Yes! I am just putting them in the header image folder. Any tips on what could be wrong?
Thanks
|
#4
May 11, 2012, 11:33 AM
|
|
|
|
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
May 11, 2012, 11:39 AM
|
|
Healthy_Hostess_header_1.jpeg
or this one:
Healthy_Hostess_header_2.jpeg
|
#6
May 11, 2012, 11:50 AM
|
|
|
|
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
May 11, 2012, 12:54 PM
|
|
The permissions are set to :
Web visible
Web: read
Owner : read write
|
#8
May 11, 2012, 12:57 PM
|
|
|
|
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
May 11, 2012, 01:41 PM
|
|
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
May 11, 2012, 01:50 PM
|
|
|
|
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
May 14, 2012, 06:11 AM
|
|
Hmm.. it looks like it's in that folder. Any tips on making sure it is?
|
#12
May 14, 2012, 06:21 AM
|
|
|
|
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
May 14, 2012, 06:22 AM
|
|
Should it be a jpg file instead of jpeg? Does that matter? What about gif file? Would that work?
|
#14
May 14, 2012, 06:24 AM
|
|
|
|
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
May 14, 2012, 06:57 AM
|
|
The file I was sent was labeled jpeg. Should I ask my designer for the jpg?
|
#16
May 14, 2012, 07:32 AM
|
|
|
|
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
May 14, 2012, 10:00 AM
|
|
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
May 14, 2012, 10:10 AM
|
|
|
|
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
May 14, 2012, 10:31 AM
|
|
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?
|
#21
May 14, 2012, 10:53 AM
|
|
|
|
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
May 14, 2012, 12:14 PM
|
|
Thank you so much! I resized the header and it's working!
Thank you Thank you Thank you!
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
|