[SOLVED] Error Message when Replacing Header
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! |
How are you putting in the new header? You should just be uploading images to the header folder.
|
Yes! I am just putting them in the header image folder. Any tips on what could be wrong?
Thanks |
Did you have images that were working? What are the image file names?
|
Healthy_Hostess_header_1.jpeg
or this one: Healthy_Hostess_header_2.jpeg |
Make sure the images are in the atahualpa/images/header folder.
Are there any other images there? What are the file permissions? |
The permissions are set to :
Web visible Web: read Owner : read write |
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.
|
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?! |
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 |
Hmm.. it looks like it's in that folder. Any tips on making sure it is?
|
Check the file permissions
|
Should it be a jpg file instead of jpeg? Does that matter? What about gif file? Would that work?
|
If it is a jpg use that extension
|
The file I was sent was labeled jpeg. Should I ask my designer for the jpg?
|
try renaming it to .jpg
|
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! |
Quote:
|
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? |
http://thehealthyhostess.com/
I changed the name of hte file on my ftp client and look at what it did! So confused! |
What is confusing. Now your image is showing although you need to change your height setting in ATO>Header Image
|
Thank you so much! I resized the header and it's working!
Thank you Thank you Thank you! |
All times are GMT -6. The time now is 12:22 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.