Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2012 at 15:32 UTC
Updated:
9 Apr 2012 at 03:30 UTC
Hello,
I updated the dev version as mentioned above an now all settings are gone and on the theme settings page I receive the following error messages:
Warning: include_once(/inc/config.inc) [function.include-once]: failed to open stream: No such file or directory in include_once() (line 9 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once() [function.include]: Failed opening '/inc/config.inc' for inclusion (include_path='.:/usr/share/pear/php5') in include_once() (line 9 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once(/inc/settings.pagelayout.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 51 of /is/htdocs/<yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once() [function.include]: Failed opening '/inc/settings.pagelayout.inc' for inclusion (include_path='.:/usr/share/pear/php5') in adaptivetheme_form_system_theme_settings_alter() (line 51 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once(/inc/settings.responsivepanels.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 52 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once() [function.include]: Failed opening '/inc/settings.responsivepanels.inc' for inclusion (include_path='.:/usr/share/pear/php5') in adaptivetheme_form_system_theme_settings_alter() (line 52 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once(/inc/settings.global.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 53 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once() [function.include]: Failed opening '/inc/settings.global.inc' for inclusion (include_path='.:/usr/share/pear/php5') in adaptivetheme_form_system_theme_settings_alter() (line 53 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once(/inc/settings.debug.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 54 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once() [function.include]: Failed opening '/inc/settings.debug.inc' for inclusion (include_path='.:/usr/share/pear/php5') in adaptivetheme_form_system_theme_settings_alter() (line 54 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once(/inc/settings.tweaks.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 96 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once() [function.include]: Failed opening '/inc/settings.tweaks.inc' for inclusion (include_path='.:/usr/share/pear/php5') in adaptivetheme_form_system_theme_settings_alter() (line 96 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once(/inc/settings.classes.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 97 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Warning: include_once() [function.include]: Failed opening '/inc/settings.classes.inc' for inclusion (include_path='.:/usr/share/pear/php5') in adaptivetheme_form_system_theme_settings_alter() (line 97 of /is/htdocs/yxcv/www/0-tsm/sites/all/themes/adaptivetheme/at_core/theme-settings.php).
Needless to say that all files and directories exist and have the propper status.
Comments
Comment #1
Jeff Burnz commentedNot a bug, this is development, expect things to break.
When you are using dev versions you should delete the old installation entirely, even uninstall the theme, which requires deleting rows from the variables database table since Drupal has no "uninstall" for themes, and then start over fresh, OR be pulling from GIT.
Could be just a matter of getting a fresher version also, the theme has changed radically in terms of internal structure, to speed it up and ease code management, so you may well encounter these sorts of missing file errors - I can't control the packing script that builds the downloadable archives, which is why pulling from GIT would solve you lots of headaches if you want to use dev version.
Comment #2
rigel8806 commentedI am having the same problem as the OP and am attempting to pull from git as per the mod's suggestion. However all attempts give me errors.
Can anyone tell me what I am doing wrong?
Comment #3
Jeff Burnz commentedProbably nothing, I know there has been some stability issues on Drupal.org the past few days.
Comment #4
dijup tuladhar commentedI am experiencing the same problem, as we know this is the cons of development version but still. It would have been better if we can get any hit of the issue so that we might be any help to solve it out.
Comment #5
Jeff Burnz commenteddijup, you can, debug the git issue.
Comment #6
Jeff Burnz commentedOK, I looked into this and it had something to do with a missing master (no idea why this is missing all of a sudden), I pushed a new master and then a few minutes later successfully cloned as anon the branch following the instructions in the project version control:
git clone --branch 7.x-3.x http://git.drupal.org/project/adaptivetheme.gitComment #7
Peng.Pif commentedHi, I've just installed Adaptive Theme 7.3 dev (March 22 2012) on a fresh Drupal install and am getting the following errors on the theme settings page.
Also, the Layout and Extensions options are not working. Can someone help with what I need to do please?
Many thanks!
Comment #8
KirstenLangholz commentedI ran into the same problem today.
It is okay that a dev version shows error messages, but if a fresh install shows this problem, pointing testers to git is not really a solution and after all the git version has the same problems...
I would love to help with this theme by giving feedback, but when I have to start all over again each day, I am out. Sorry!
Comment #9
Jeff Burnz commented#7 - OK, I'll need to ping the webmasters and see if there is something wrong with the repo when the download archive is being built, there are clearly files missing from it.
Of course any one of you could of done that, since you know about it, what were some of you saying about wanting to help out?
#8 - if you can't pull from GIT then you ain't really gonna be much help, you will always be running stale code, and probably posting issues I already know about. If you want to help in development then install GIT and pull the repo using Tortoise GIT or similar, takes about 5 minutes to get set up.
Comment #10
Jeff Burnz commentedI tested:
1. Download Drupal core 7.x-dev (actually you should use Drupal core dev, I have taken advantage of a new feature for forms)
2. Download Adaptivetheme 7.x-3.x-dev (tar.gz)
Installed Drupal, installed the sub-theme, turned on all the settings, changed the layout, etc etc - no issues encountered.
As I said earlier, please do not complain about dev versions, I CANNOT control when Drupal packs the archive that you download, if something breaks then its just bad luck and bad timing. Guys, I am running a big technology site on this version already - its running very sweaty at the moment.
Comment #11
Jeff Burnz commentedHeres a test if you are still having the issue:
Look in
adaptivetheme/at_core/template.phpChange the following line:
$path_to_at_core = DRUPAL_ROOT . '/' . drupal_get_path('theme', 'adaptivetheme');to this:
$path_to_at_core = drupal_get_path('theme', 'adaptivetheme');See if that clears the problem for you.
Another test is to install the Devel module and before doing anything run this in the same file, at the bottom:
dsm($path_to_at_core);Reload a page in your site a couple of times and tell me what it says (if you can even run the theme).
Comment #12
KirstenLangholz commentedYou are really "great" in motivating people to support you! But may I quote myself?
I know this, because I tried ;)
Just to give you some inside why people are willing to help. People help, if they get something out of it, too. So, personally I will not set up a 7 dev version and pull in your dev version on a daily basis just to tell you what problems I might bump in, because - there is nothing in there for me!
I would be willing to take an actual stable Drupal 7.12 version or later and test your 7.3 dev version against it in such a way, that I install the theme, create a sub-theme and update via update Drupal process your dev versions and report what might have been broke or make suggestions how to improve it.
Because this gives you the opportunity to test the standard routine and I will - hopefully - end up with an up-to-date latest state of the art theme for my favorite website. That would be my benefit from this.
BTW, take a look at the other theme developers, they get Drupal to release correct dev versions and consider reporting such error messages as mentioned above as a plus and not as inconvenient as you obviously do.
Comment #13
Jeff Burnz commentedNo they don't, we have no control over this. The packing script runs on a schedule, every 12 hours for DEV versions.
I have downloaded these archives and pulled from git as anon, I did both yesterday and it worked just fine.
Please see #11 for a possible issue, since this theme uses DRUPAL_ROOT constant for absolute path to includes files (this gives a performance improvement over using relative paths for includes).
What I need is help with improving some of the underlying architecture of the theme - this requires a very advanced PHP architect to suggest improvements - this means someone like heyrocker, Crell or chx. If I need UX advice I will ping Bojhan or Yoroy to take a look, if I need accessibility improvements I can talk to Everett or Mike Gifford. Why would I prefer to ask these people? Because the motivation they have is not self directed - its for the greater good of the entire community, for the betterment of humanity - this is what open source is about - improving everyones lives, not just your own.
Comment #14
jthomasbailey commentedAdd this to at_core/theme-settings.php around line 8, just below "global $path_to_at_core":
$path_to_at_core = drupal_get_path('theme', 'adaptivetheme');Ta Daa!
Comment #15
Jeff Burnz commentedOh dang, thats what I was afraid of, thank-you hobgobbler, that tells me the issue exactly.
Comment #16
Jeff Burnz commentedI have pushed a change to GIT, so will mark as needs review. It removes the DRUPAL_ROOT constant from $path_to_at_core in template.php, so this will in essence work the same as hobgobbler's workaround, but fixes it at the source of the issue.
Comment #17
Jeff Burnz commentedPart of this could have been using Seven theme, since I never use this theme and had not done any testing in Seven, seems trivial thing but it did make a difference and I did get some errors when switching to Seven, now I have fixed these issues also.
Comment #18
Jeff Burnz commentedI have rather revamped the whole way paths are now applied, this should no longer be an issue.
Comment #19.0
(not verified) commentedForgot to give some information. Added them