Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

3.33 > 3.4 It can't find CSS


  #1  
Old Jul 5, 2009, 04:29 AM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
I'm not really a HTML noob and I do understand from the changelog there is something changed by the way it handles CSS files.

I did an update to 3.4 and it simply doesn't find the CSS file. At least, that seems the case (http://allaboutsketchup.fizion.nl/). I think it has to do with this line:

Code:
<link rel="stylesheet" href="http://allaboutsketchup.fizion.nl/?bfa_ata_file=css" type="text/css" media="screen" />
Then again, don't see strange things if I compare it to ither information. Think I do something stupid but can't see what. Hope someone has an answer.
  #2  
Old Jul 5, 2009, 04:33 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Did you upload all files including the directories such as /functions/ etc?

Does it work if you choose Consigure CSS & JS -> CSS: External file or inline? -> Inline
  #3  
Old Jul 5, 2009, 04:44 AM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
Well Flyn, thank you so much for that fast reply! Cool!

Unfortunatly changing to inline doesn't make any difference. It shows the same also when I look at the source.

Code:
<link rel="stylesheet" href="http://allaboutsketchup.fizion.nl/?bfa_ata_file=css" type="text/css" media="screen" /> 
<title>All About Sketchup</title> 
<script type="text/javascript" src="http://allaboutsketchup.fizion.nl/?bfa_ata_file=js"></script>
I uploaded it all at least, Wordpress did. I uploaded the zip file like stated in the readme.txt to add a theme. I can still choose 3.33 though as installed theme but that is normal I quess because of the different directory names.

One thing that is a bit strange, if I go to appearance > editor. Then I can choose what I want to edit. There is Atahualpa and Atahualpa/Atahualpa34. Don't see why the second option ain't just Atahualpa34.
  #4  
Old Jul 5, 2009, 05:09 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Please download again, I got it it really mixed up this time, I just uploaded a new version to wordpress.bytesforall.com
  #5  
Old Jul 5, 2009, 05:34 AM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
Sorry, but same problem. Strange thing (and maybe usefull for you) is that when I go back to default, select 3.4 then the preview is exactly how it should be. But think that does something else then activation. After activation the CSS is lost.
  #6  
Old Jul 5, 2009, 03:37 PM
Kojichan
 
5 posts · Jul 2009
Quote:
Originally Posted by OzBOz
Well Flyn, thank you so much for that fast reply! Cool!

Unfortunatly changing to inline doesn't make any difference. It shows the same also when I look at the source.

Code:
<link rel="stylesheet" href="http://allaboutsketchup.fizion.nl/?bfa_ata_file=css" type="text/css" media="screen" /> 
<title>All About Sketchup</title> 
<script type="text/javascript" src="http://allaboutsketchup.fizion.nl/?bfa_ata_file=js"></script>
I uploaded it all at least, Wordpress did. I uploaded the zip file like stated in the readme.txt to add a theme. I can still choose 3.33 though as installed theme but that is normal I quess because of the different directory names.

One thing that is a bit strange, if I go to appearance > editor. Then I can choose what I want to edit. There is Atahualpa and Atahualpa/Atahualpa34. Don't see why the second option ain't just Atahualpa34.

That Atahualpa/Atahualpa34 thing seems to be because there is already a skin named "Atahualpa", so it tacks on an additional identifier.

Regardless, I'm experiencing this same problem too.

I've actually whittled it down to a couple of things.


Firstly, setting CSS or JS Internal or External does absolutely nothing. The program still defaults to using an External CSS file.


Secondly, the External CSS file won't load properly, if you're home directory for WordPress ISN'T the same directory. Which it's doing for me at least. IE:
http://kojichan.neosouthisland.com/wp/ <-- Where Wordpress is located,
http://kojichan.neosouthisland.com/ <-- Where users actually go.

Because Atahualpa adds it's CSS script onto the end of the URL.

http://kojichan.neosouthisland.com/wp/?bfa_ata_file=css <-- Where it is pointing (Thusly, 404)
http://kojichan.neosouthisland.com/?bfa_ata_file=css <-- Where it SHOULD point (No 404)


Thirdly, Even if you manage to get that far (or view the CSS yourself from that URL), the Atahualpa program DOES NOT use the CSS you painstakingly entered in for hours, but uses it's default CSS code. (Keep in mind, the CSS you entered is still editable via the Theme Option Editor, but it is just not the one being loaded on the front page)

So... Yeah. =/ seems kinda important... In the mean time, I'm going back to 3.2.

Also random... I have this weird glitch in IE 6 that doesn't show in Firefox/Mozilla browsers. My post content format seems to be shifting one pixel to the left with each post on teh page. 1st post has 1 pixel shift, 2nd post has 2 pixel shift, 3rd post has 3 pixel shift, etc. Looks kinda weird........ Not sure what that's about.
(If you have IE 6 you can see the weird glitch here: http://kojichan.neosouthisland.com/ )

Last edited by Kojichan; Jul 5, 2009 at 03:42 PM. Reason: Additional glitchage
  #7  
Old Jul 6, 2009, 12:04 AM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
'Glad' I'm not the only person experiencing the problem. I also tried the theme on a blog that didn't have any Atahualpa installed before but then I don't experience any problem.
  #8  
Old Jul 6, 2009, 10:21 AM
Kojichan
 
5 posts · Jul 2009
it doesn't do this on a blog with a fresh install? Then it seems it might be something to do with how/where it saves the custom data. I can't find it in the SQL anywhere, so I'm guessing it's stored serverside. Maybe the header file, as far as I've been looking around.
  #9  
Old Jul 6, 2009, 04:26 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There is a problem with the new CSS INTERNAL setting.

If you use this setting, you will not see any styling you do. IT IS NOT GONE, it's still in the database, so set CSS EXTERNAL, your styling will be back.

So 'play' with 3.4 but do not use the new 'Configure CSS & JS' options.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Jul 6, 2009, 04:38 PM
lhanft
 
88 posts · Jul 2009
Cleveland, OH
Okay, I upgraded to 3.4, I made some changes to the site, started noticing problems, came here and learned that we should hold off on 3.4 until some problems with html/css are resolved. So I downgraded back to 3.34.

But...

In 3.4, I set the page-menu bar so that it was centered (a much-welcome enhancement, thank you). But when I switched back to 3.34, which doesn't offer that option, I got an error. In the place where the pages menu nav bar should be, I see only %page-center.

http://www.theagnonschool.org

And I've searched all through my added html/css and the php files can't find where the call to %page-center is stored.

Can anyone help me remove that tag?

Thanks.
  #11  
Old Jul 6, 2009, 06:52 PM
Kojichan
 
5 posts · Jul 2009
Quote:
Originally Posted by juggledad
There is a problem with the new CSS INTERNAL setting.

If you use this setting, you will not see any styling you do. IT IS NOT GONE, it's still in the database, so set CSS EXTERNAL, your styling will be back.

So 'play' with 3.4 but do not use the new 'Configure CSS & JS' options.
But, I DID try both options of internal or external, and I see the same results, that's the problem..... And, isn't the internal vs external option inside the css & js options regardless? I know the css style is still there,s but there seems to be an issue of it loading on the pages. I can see and edit the information still, but it doesn't seem to want to place the css into the header of the page. Sorry.
  #12  
Old Jul 6, 2009, 07:57 PM
lhanft
 
88 posts · Jul 2009
Cleveland, OH
Um, I finally figured out where to find the %page-center code. Should ever anyone be as boneheaded as me, you can find it Style & edit HEADER area.
  #13  
Old Jul 6, 2009, 08:37 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Kojichan
From what I can tell, when you set 'CSS: External file or inline?' to 'Internal' all the styling you get is the default styling. If you set it to External, the styling options you set will work, you just can't see them if you look at the source of the generated page.

If you need to see the styling in the generated source, there is a hack you can use.
Edit functions.php and locate the following IF statement: should be at line 208
HTML Code:
	if ( $bfa_ata_preview == 1 ) { 
		add_action('wp_head', 'bfa_inline_css');
		function bfa_inline_css() {
			$bfa_ata_preview = 1;
			include_once (TEMPLATEPATH . '/' . 'css.php');
		}
	}
now add this line before it
HTML Code:
$bfa_ata_preview = 1;
this will force the CSS to show up on the generated source of the page.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #14  
Old Jul 6, 2009, 10:50 PM
Kojichan
 
5 posts · Jul 2009
I've managed to fix the problem myself...

After some farting around, I realized that Atahualpa was using the WordPress function "get_option('siteurl')", which loads the URI for the WordPress Install.

(IE, http://yourblog.com/WordPress/)

Now, because I don't call my blog from that url, it doesn't work for me.
(IE, http://yourblog.com/)

So, instead of Siteurl, use the option Home.


I'm 99% certain that if you call your blog from the same directory as wordpress, this hack will work for you too.
(If you feel uncomfortable editing your files, backup!! I can't stress this enough!)



OPEN: atahualpa34/functions/bfa_get_options.php

FIND:
Code:
$bfa_ata['siteurl'] = get_option('siteurl');
REPLACE WITH:
Code:
$bfa_ata['siteurl'] = get_option('home');

And viola!! CSS code problem fixed! ^_^ OzBOz, this should also fix your problem, from what I can tell.


Edit: Atahualpa 3.4 introduces some new Widgets, doesn't it? *random* I just had to replace my widgets to "Right Sidebar" from "Right Inner Sidebar"

Last edited by Kojichan; Jul 6, 2009 at 10:55 PM. Reason: (Editing Widgets)
  #15  
Old Jul 7, 2009, 01:58 PM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
Hey Kojichan, I tried your trick both my addresses are the same. But unfortunatly it didn't work for me. I hope that Flynn has a nice (bug) fix soon which works for all people having troubles as I'm not the only one.
  #16  
Old Jul 7, 2009, 11:49 PM
Kojichan
 
5 posts · Jul 2009
Quote:
Originally Posted by OzBOz
Hey Kojichan, I tried your trick both my addresses are the same. But unfortunatly it didn't work for me. I hope that Flynn has a nice (bug) fix soon which works for all people having troubles as I'm not the only one.
Hey OzBOz, out of curiosity, do you have a url redirect or something? Or did you install WP into that directory? (http://fizion.nl/allaboutsketchup/) or is WP in a directory beyond that? (http://fizion.nl/allaboutsketchup/wordpress) ?

*checks* ... OK, so that IS your WP directory.

I wonder if that is the reason why your half doesn't work. The CSS script http://fizion.nl/allaboutsketchup/?bta_etcwhatever=css is being redirected to your index page, so it can't and won't find the CSS. What's your .htaccess like?
  #17  
Old Jul 10, 2009, 08:27 AM
coffeemuses
 
1 posts · Jul 2009
Kojichan...

I had the same problem in a newly setup domain. The "$bfa_ata['siteurl'] = get_option('home');" trick fixed everything. Thanks...I did not want to point everything to the wordpress directory.
  #18  
Old Jul 10, 2009, 11:06 AM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
Quote:
Originally Posted by Kojichan
I wonder if that is the reason why your half doesn't work. The CSS script http://fizion.nl/allaboutsketchup/?bta_etcwhatever=css is being redirected to your index page, so it can't and won't find the CSS. What's your .htaccess like?
Sorry for the delay but it's:

Code:
Options +FollowSymLinks

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /allaboutsketchup/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /allaboutsketchup/index.php [L]
</IfModule>

# END WordPress
  #19  
Old Jul 10, 2009, 09:12 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Try the new version 3.4.1 http://wordpress.bytesforall.com/?p=73
  #20  
Old Jul 11, 2009, 10:58 AM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
Quote:
Originally Posted by Flynn
Try the new version 3.4.1 http://wordpress.bytesforall.com/?p=73
Hi Flynn,

I tried, and well.. it's more consequent now and shows a site without CSS also in preview. If you need information about my directories etc please let me know. But unfortunatly 3.4.1 still doesn't work overhere.
  #21  
Old Jul 11, 2009, 11:34 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
hEy OzBOz
what version of WP and PHP?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #22  
Old Jul 12, 2009, 05:30 AM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
Quote:
Originally Posted by juggledad
hEy OzBOz
what version of WP and PHP?
PHP Version 5.2.6
WordPress 2.8

Files at my server are located at the allaboutsketchup directory which you can access using http://fizion.nl/allaboutsketchup/ or http://allaboutsketchup.fizion.nl/. In my WP config I use http://fizion.nl/allaboutsketchup as address.
  #23  
Old Jul 12, 2009, 06:48 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
FYI in regards to your question in post#3
Quote:
One thing that is a bit strange, if I go to appearance > editor. Then I can choose what I want to edit. There is Atahualpa and Atahualpa/Atahualpa34. Don't see why the second option ain't just Atahualpa34.
The reason you see Atahualpa/Atahualpa341 is because WordPress dispplays the theme name as 'themename'/'folder'. If the theme name is unique, the 'folder' is not displayed.

When you say it shows the site without preview, are you talking about when you go to activate the theme or something else?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #24  
Old Jul 12, 2009, 07:31 AM
OzBOz
 
12 posts · Jul 2009
Deventer, The Netherlands
Send a message via MSN to OzBOz
Quote:
Originally Posted by juggledad
When you say it shows the site without preview, are you talking about when you go to activate the theme or something else?
Well when I selected the 3.4.01 in my themes it did show a preview -with- CSS. But didn't used any CSS when I clicked activate in the preview layer. In 3.4.1. it also shows the preview -without- CSS. So more consistant, but nett same problem.
  #25  
Old Jul 12, 2009, 10:48 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Could you give it another try with 3.4.2 http://wordpress.bytesforall.com/wp-...load.php?id=17 ?

I still have no idea where your issues are coming from but I'm sure we'll find out

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
category to a page, cant find a solution claudioso Page & Category Menu Bars 3 Jul 16, 2009 05:44 PM
how do i find whatversion i have installed wilcuneo Atahualpa 3 Wordpress theme 1 May 26, 2009 04:51 PM
Where to find all the threads I started Jerry Forum How-To 2 Apr 12, 2009 12:19 AM
Can't find solution to problem - can I just start over? bjt1t2t3 Atahualpa 3 Wordpress theme 4 Mar 21, 2009 01:10 PM
Can't find Theme to edit it feastfresh Atahualpa 3 Wordpress theme 0 Mar 9, 2009 08:52 PM


All times are GMT -6. The time now is 07:36 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.