By jasonabc on
Hi - I'm running Drupal 6.16 on PHP 5, Apache 2.2 and MySQL 5.0.1. I have this working perfectly locally - but when I installed it here: http://67.213.209.10/~vinvmar6/
I get warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/vinvmar6/public_html/includes/theme.inc on line 976.
All my links are also broken (try clicking on any link or product on the homepage).
Any ideas??
thanks!
Jason
Comments
Try changing your theme at
Try changing your theme at /admin/build/themes (and changing it back if it works)
if that doesn't work, maybe clearing your cache here admin/settings/performance might help you out.
Good luck,
Thijs
Hey bud - thanks for the
Hey bud - thanks for the reply. Unfortnately I can't log in - I can't get to any page or node except the homepage... I just get a 404... The site is working fine locally - just seems to be something in the hosts set up that's causing this. I tried clearing all the cache tables and it had no effect...
Cheers
Jason
Did you check your .htaccess
Did you check your .htaccess file, and the settings file in /sites/default/settings.php ?
Looks like redirecting is not working (.htaccess) so that would be either a faulty .htaccess or a wrong setting in your hosts' webserver.
did you copy all of your
did you copy all of your contributed modules over?
Im having the same issue. So
Im having the same issue. So far here is what i discovered. Changing the theme to garland and browsing the site gets rid of the errors. Changing back to the theme i got the errors again. clearing site and browser cache did nothing. i have all my site files checked into a git repo so all the files are there. I also re pulled from the repo to make sure, no changes to pull. I did have the redirect issue as well for the logging in problem. I founf my issue was the following settings in settings.php:
$base_url = 'http://domain'; // NO trailing slash!
$cookie_domain = 'domain';
they were set on my localhost and after moving them to my server i had to change the mto reflect the new settings:
$base_url = 'http://domain.com'; // NO trailing slash!
$cookie_domain = 'domain.com';
*note the localhost version on top is only domain because when on my localhost i create a new entry in /etc/hosts and have the following:
127.0.0.1 localhost
127.0.0.1 domain
this way i can go to http://domain to go to my site rather than http://localhost/domain (it seems easier on drupal to do it this way).
So once i changed those settings i got rid of the redirect issue where i could not log in. But when going back to my theme im still getting the above error. So i went to my theme settings and noticed after moving all the theme settings were disabled to i re-enabled them and also had to fix my files path settings, but that might have just been me (but i figured if not i should note that). So after fixing files paths and theme settings the errors *seem* to have subsided. its only been a few minutes and I have not seen them. So if i do i will give more info.
*EDIT: Also make sure you check the ownership of the files directory. it should be owned by the apache webserver. or if youre on a shared host they would be owned by the user. so just make sure permissions are in order as well
Solved by enabling theme page elements displays
I solved the problem by enabling the display of page elements in the theme settings configuration menu (admin/build/themes/settings - under 'Configure'). Before this I had reset theme properties to defaults but that had not solved the issue - although I cannot rule it having contributed to the solution somehow.
In any case when I checked the logo, site slogan, mission statement and all those other ones that I had been using the warnings disappeared.