Home › Forums › Graphene Mobile › Support
Graphene admn pages do not work
-
Hello,
we’re running in trouble with graphene mobile. While everything is working with no warnings at all in the apache logs, installings graphene mobile lead to some issues.
1. “Graphene Mobile Theme Options” is not working
2. Apache logs show the following
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: array_merge(): Argument #2 is not an array in /var/www/html/vhosts/ada/ada/wp-content/themes/graphene-mobile/includes/functions.php on line 18, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: fopen(/style.css): failed to open stream: No such file or directory in /var/www/html/vhosts/ada/ada/wp-includes/functions.php on line 4452, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/html/vhosts/ada/ada/wp-includes/functions.php on line 4455, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/vhosts/ada/ada/wp-includes/functions.php on line 4458, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: include(/admin/options-general.php): failed to open stream: No such file or directory in /var/www/html/vhosts/ada/ada/wp-content/themes/graphene-mobile/admin/options.php on line 14, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: include(): Failed opening '/admin/options-general.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/vhosts/ada/ada/wp-content/themes/graphene-mobile/admin/options.php on line 14, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: include(/admin/options-display.php): failed to open stream: No such file or directory in /var/www/html/vhosts/ada/ada/wp-content/themes/graphene-mobile/admin/options.php on line 15, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: include(): Failed opening '/admin/options-display.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/vhosts/ada/ada/wp-content/themes/graphene-mobile/admin/options.php on line 15, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: include(/admin/validator.php): failed to open stream: No such file or directory in /var/www/html/vhosts/ada/ada/wp-content/themes/graphene-mobile/admin/options.php on line 16, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: include(): Failed opening '/admin/validator.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/vhosts/ada/ada/wp-content/themes/graphene-mobile/admin/options.php on line 16, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Warning: array_merge(): Argument #2 is not an array in /var/www/html/vhosts/ada/ada/wp-content/themes/graphene-mobile/admin/options.php on line 36, referer: http://collada.ac.bankit.it/ada/wp-admin/themes.php?page=mgraphene_options&tab=display
[Tue Mar 13 09:27:26 2012] [error] [client 10.35.241.60] PHP Fatal error: Call to undefined function mgraphene_options_general() in /var/www/html/vhosts/ada/aAdminHi elibus,
It seems like the theme fails to load certain required files. This could be due to the files themselves are missing, or your host has placed a restriction on opening files on the server. Try deleting the Graphene Mobile theme entirely, and then manually upload the theme’s contents using FTP.
Let me know if you need help with that.
Hi thanks for your quick reply.
I’ve already tried to reinstall graphene mobile but it did not work out. Files are not loaded because $mgraphene_settings is empty as mentioned in my second post.
I’ve reinstalled graphene (not mobile) from scratch and now it seems to work. Maybe it was a graphene issue as other plugins complain with errors similar to “array_merge(): Argument #2 is not an array…”.
I think this issue is related to our staging environement. We have two envs one for developers and the other one for production. They are exactly the same but for the domains which differs.
We perform this step to migrate our wordpress instance from the development env to production:
1. rsync of the fs
2. dump/import of the full db
3. Update of references to the old domain via sql update (say http://prod.domain.com ==> http://dev.domain.com)
After step 3 graphene stops working. We found that updating “theme_mods_graphene” “option_value” in “wp_options” table breaks something.
Import/export settings makes no difference.
Do you have any suggestion?
AdminWhen you update the references to the old domain, it is possible that the Graphene options entry in the database is corrupted, since those options are saved as a serialised array.
If this happens again, it could be possible to fix it by deleting the
graphene_options
entry in thewp_options
table. Then, import the settings from the dev site using Graphene’s settings import/export feature, and manually change any references to the old domain in Graphene’s settings.
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.