Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A site and a question(or three)
#1
Greetings,

Installing WP makes me queasy. Textpattern looked promising, but had a bunch of rough edges. So a couple days ago, a stupidly quick test had me up and running in GetSimple. The template is from themeforest.

http://www.billinspectors.com/


I want to do an "articles" section, with a bunch of pages as sub-pages, ie: /articles/hello-world. What can I do to get /articles to show a list of all the articles?

When editing a page, there's an option for Template, but the only choice is "Default Template". How can I put something else in there and use it?

I have a "box" on the side of the page that is, right now, hard coded into the template. What can I do to make this dynamic? I'd like to be able to edit it in the gui, and optionally include/exclude it on pages, or have a different box for different pages.

Thanks!
Connie's avatar scares me
Reply
#2
AAAAAAHH! Things were going so well....

One of the issues I had with textpattern was occasionally I would get strange messages when submitting bits of html through the form. I tried moving the news box code into the sidebar component and:
Code:
Error 403: Forbidden
Your PHP settings have been disabled by an H-Sphere administrator.

Your current PHP configuration:
-->
This configuration was changed:
Please bring your PHP configuration in compliance with admin settings or request your administrator to re-enable support of your settings.

You don't have permissions to access this page. This usually means one of the following:

this file and directory permissions make them unavailable from the Internet.
.htaccess contains instructions that prevent public access to this file or directory.
Please check file and directory permissions and .htaccess configuration if you are able to do this. Otherwise, request your webmaster to grant you access.
Connie's avatar scares me
Reply
#3
Ripped right from the default sidebar message, this works:
Code:
<h2>GetSimple Features</h2>

But this doesn't work:
Code:
<h2>GetSimple Features</h2>
<h2>GetSimple Features</h2>

The simplest code that caused it to happen is:
Code:
</h2>
<ul>

This only happens on the "Edit Components" page. Entering html is fine on "Pages"
Connie's avatar scares me
Reply
#4
Hi, welcome!

I am not so clear about some of your questions. I try to answer:

Quote:I want to do an "articles" section, with a bunch of pages as sub-pages, ie: /articles/hello-world. What can I do to get /articles to show a list of all the articles?
1) there is a plugin "news manager", you can use for that
2) submenus are possible also with subpages using the i18N-plugin

Quote:When editing a page, there's an option for Template, but the only choice is "Default Template". How can I put something else in there and use it?
Some themes have more than one template. Maybe one for a photogallery with a special Javascript which is not needed in all templates. All templates from the theme folder are listed here
you can read about that in the wiki, http://get-simple.info/wiki/themes:template_files
you write that template and upload it to the theme-folder

Quote:I have a "box" on the side of the page that is, right now, hard coded into the template. What can I do to make this dynamic? I'd like to be able to edit it in the gui, and optionally include/exclude it on pages, or have a different box for different pages.
check for example the dynpages plugin, http://get-simple.info/extend/plugin/dynpages/81/

Quote:One of the issues I had with textpattern was occasionally I would get strange messages when submitting bits of html through the form. I tried moving the news box code into the sidebar component and:
here you are mixing textpattern + vbulletin with Getsimple
GetSimple has no "H-Inspector" and error messages are different
and why no 2 <H2> possible? please explain that to me

"Please bring your PHP configuration in compliance with admin settings or request your administrator " this has nothing to do with GetSimple, this is a message from v-bulletin

cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#5
Connie,

Thanks for your reply.

I'll be looking at NewsManager and Dynpages if I can get through these other issues.

Aaah, understand the templates now. I actually want that, I'll look into it for the custom template I am using.

Now, for the fun part:

vbulletin has never been installed on this domain. I even went back to the account I tested on that had not had anything in it before getsimple, and I get the same message.

Again, the only place I've seen it break is saving theme components. I've tested the code that breaks in the Page edit fields, and it's fine.

This works:
Code:
<h2>a</h2>

This does not:
Code:
<h2></h2>

Inserting any non-space, non-tab character allows the form to submit properly, even "&nbsp;".

I feel like there's some normalization or escaping that's happening on the Page submits that's not happening on the Component submits. I'll look this afternoon, but I've not coded with php in a few years, so it'll take a while.
Connie's avatar scares me
Reply
#6
Found a bunch of error messages in my host's log:

Code:
[Fri Aug 12 18:01:13 2011] [error] [client 204.31.XXX.XX] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(< ?(?:(?:java|vb)?script|about|applet|activex|chrome) ?>|> ?< ?(img ?src|a ?href) ?= ?(ht|f)tps?:/|" ?> ?<|" ?[a-z]+ ?<.*>|> ?"? ?(>|<)|< ?/?i?frame|\\%env)" at ARGS:val[]. [file "/hsphere/shared/apache2/conf/modsecurity.d/10_asl_rules.conf"] [line "903"] [id "340147"] [rev "81"] [msg "Atomicorp.com - FREE UNSUPPORTED DELAYED FEED - WAF Rules: Generic XSS filter"] [data "333"] [severity "CRITICAL"] [hostname "billinspectors.hspheredns.com"] [uri "/admin/components.php"] [unique_id "TkWwuEMWhDcADkkzyZEAAAAX"]

My regex-fu is weak. Any ideas?
Connie's avatar scares me
Reply
#7
I found the answer to this. My host was using some sort of ModSecurity script that was crashing on this page alone.

They whitelisted the script and it works fine now.
Connie's avatar scares me
Reply
#8
Tobarja,

I am glad that it is working for you, even when we couldn't help you with the problems.

I often refer to adress the hoster's support and we have a list with tipps for special hosters.

Could you add your info to this site in the wiki?
http://get-simple.info/wiki/installation...webhosters

if you are not comfortable with WIKI, tell us your hoster's name and URL and we will add that info.

Thanks and now, please enjoy working with GetSimple!
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#9
I created a page documenting the two issues I had installing GetSimple with my hosting provider. It's possible that both issues are present when using any Plesk hosting account, but I can only verify my provider.

http://get-simple.info/wiki/installation:cartika

Feel free to clean it up. I think I was plain enough.
Connie's avatar scares me
Reply
#10
Tobarja,

thank you so much, these hosting-related infos are very helpful for all of us!
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 2 Guest(s)