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

Jeff Burnz’s picture

Category: bug » support

Not 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.

rigel8806’s picture

I 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.

 git clone http://drupalcode.org/project/adaptivetheme.git                        
Initialized empty Git repository in /home/eros/public_html/hedone.us/public/sites/all/themes/adaptivetheme/.git/
warning: remote HEAD refers to nonexistent ref, unable to checkout.
 git clone --branch 7.x-3.x http://drupalcode.org/project/adaptivetheme.git
Initialized empty Git repository in /home/eros/public_html/hedone.us/public/sites/all/themes/adaptivetheme/.git/
warning: Remote branch 7.x-3.x not found in upstream origin, using HEAD instead
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Can anyone tell me what I am doing wrong?

Jeff Burnz’s picture

Probably nothing, I know there has been some stability issues on Drupal.org the past few days.

dijup tuladhar’s picture

I 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.

Jeff Burnz’s picture

dijup, you can, debug the git issue.

Jeff Burnz’s picture

Title: After updating to dev version of March 13th, 2012 - design broke » warning: remote HEAD refers to nonexistent ref, unable to checkout
Component: AT Subtheme » Miscellaneous

OK, 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.git

Peng.Pif’s picture

Hi, 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.

    Warning: include_once(/inc/config.inc) [function.include-once]: failed to open stream: No such file or directory in include_once() (line 8 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once() [function.include]: Failed opening '/inc/config.inc' for inclusion (include_path='.;C:\php5\pear') in include_once() (line 8 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once(/inc/theme.settings.submit.inc) [function.include-once]: failed to open stream: No such file or directory in include_once() (line 166 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once() [function.include]: Failed opening '/inc/theme.settings.submit.inc' for inclusion (include_path='.;C:\php5\pear') in include_once() (line 166 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once(/inc/forms/settings.pagelayout.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 53 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once() [function.include]: Failed opening '/inc/forms/settings.pagelayout.inc' for inclusion (include_path='.;C:\php5\pear') in adaptivetheme_form_system_theme_settings_alter() (line 53 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once(/inc/forms/settings.responsivepanels.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 54 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once() [function.include]: Failed opening '/inc/forms/settings.responsivepanels.inc' for inclusion (include_path='.;C:\php5\pear') in adaptivetheme_form_system_theme_settings_alter() (line 54 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once(/inc/forms/settings.global.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 55 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once() [function.include]: Failed opening '/inc/forms/settings.global.inc' for inclusion (include_path='.;C:\php5\pear') in adaptivetheme_form_system_theme_settings_alter() (line 55 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once(/inc/forms/settings.debug.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 56 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once() [function.include]: Failed opening '/inc/forms/settings.debug.inc' for inclusion (include_path='.;C:\php5\pear') in adaptivetheme_form_system_theme_settings_alter() (line 56 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once(/inc/forms/settings.tweaks.inc) [function.include-once]: failed to open stream: No such file or directory in adaptivetheme_form_system_theme_settings_alter() (line 118 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).
    Warning: include_once() [function.include]: Failed opening '/inc/forms/settings.tweaks.inc' for inclusion (include_path='.;C:\php5\pear') in adaptivetheme_form_system_theme_settings_alter() (line 118 of C:\wamp\www\tg3\sites\all\themes\adaptivetheme\at_core\theme-settings.php).

Also, the Layout and Extensions options are not working. Can someone help with what I need to do please?

Many thanks!

KirstenLangholz’s picture

I 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!

Jeff Burnz’s picture

#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.

Jeff Burnz’s picture

Status: Active » Closed (cannot reproduce)

I 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.

Jeff Burnz’s picture

Status: Closed (cannot reproduce) » Active

Heres a test if you are still having the issue:

Look in adaptivetheme/at_core/template.php

Change 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).

KirstenLangholz’s picture

#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.

You are really "great" in motivating people to support you! But may I quote myself?

...and after all the git version has the same problems...

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.

Jeff Burnz’s picture

they get Drupal to release correct dev versions

No 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.

jthomasbailey’s picture

Status: Active » Needs review

Add 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!

Jeff Burnz’s picture

Title: warning: remote HEAD refers to nonexistent ref, unable to checkout » Don't use DRUPAL_ROOT constant in $path_to_at_core
Category: support » bug
Status: Needs review » Active

Oh dang, thats what I was afraid of, thank-you hobgobbler, that tells me the issue exactly.

Jeff Burnz’s picture

Status: Active » Needs review

I 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.

Jeff Burnz’s picture

Part 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.

Jeff Burnz’s picture

Status: Needs review » Fixed

I have rather revamped the whole way paths are now applied, this should no longer be an issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Forgot to give some information. Added them