Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: nightware - elokuu 25, 2006, 06:13:42 AP

Otsikko: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 06:13:42 AP
Hi

I tried to create a new theme by using the Create a copy of Default named: option on the Themes and Layout, Manage and Install page. It failed with this msg:

It worked fine with RC2.

I have replaced the beginning of the path with --- myself.
2: copy(): SAFE MODE Restriction in effect. The script whose uid/gid is 127302/127302 is not allowed to access ---/forum/Themes/tk/images/bbc owned by uid/gid 398/398
File: ---/forum/Sources/Subs-Package.php
Line: 1271
Otsikko: Re: RC3: New theme failed
Kirjoitti: sawz - elokuu 25, 2006, 06:21:53 AP
chances are the "new" theme isn't compatible?
check and be sure it will work with 1.1 RC3
Otsikko: Re: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 06:24:39 AP
Lainaus käyttäjältä: sawz - elokuu 25, 2006, 06:21:53 AP
chances are the "new" theme isn't compatible?
check and be sure it will work with 1.1 RC3

nono, what happens when you do it is that a blank theme based on default is created. It cannot be incompatible as Default works:)
Otsikko: Re: RC3: New theme failed
Kirjoitti: sawz - elokuu 25, 2006, 06:30:04 AP
i just did as you suggested, i called mine theme3 and it worked ok.
check your permissions, chmod the Source folder 0777, or is it already
there.
Otsikko: Re: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 07:19:07 AP
My permissions seems ok.
Otsikko: Re: RC3: New theme failed
Kirjoitti: sawz - elokuu 25, 2006, 07:25:42 AP
http://www.amoroth.dk/ags/index.php

you have 1.1 RC2 running?
Otsikko: Re: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 07:26:33 AP
Lainaus käyttäjältä: sawz - elokuu 25, 2006, 06:30:04 AP
i just did as you suggested, i called mine theme3 and it worked ok.
check your permissions, chmod the Source folder 0777, or is it already
there.

Does your server/webhotel run in safe mode?
Otsikko: Re: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 07:27:08 AP
Lainaus käyttäjältä: sawz - elokuu 25, 2006, 07:25:42 AP
http://www.amoroth.dk/ags/index.php

you have 1.1 RC2 running?

Yes, on another site, same server. It works there. The site with problems is

http://www.2md-lyngby.dk
Otsikko: Re: RC3: New theme failed
Kirjoitti: sawz - elokuu 25, 2006, 07:43:23 AP
Lainaus käyttäjältä: nightware - elokuu 25, 2006, 07:26:33 AP
Does your server/webhotel run in safe mode?

no it doesn't.
i use a custom_php.ini for mine.
i turn all the bad stuff off.
Otsikko: Re: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 07:44:50 AP
Three directories are created before the failure. They are:

"mytheme" and within it "images" and within that "bbc"

"mytheme" is created by httpd:myuser access is rwxrw-rwx
"images" is created by httpd:myuser access is rwxr-xr-x
"bbc" is created by httpd:httpd access is rwxr-xr-x

myuser isnt the real username :)


Note how no combination of access and user is the same ... looks strange to me.
Otsikko: Re: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 07:52:25 AP
Lainaus käyttäjältä: sawz - elokuu 25, 2006, 07:43:23 AP
Lainaus käyttäjältä: nightware - elokuu 25, 2006, 07:26:33 AP
Does your server/webhotel run in safe mode?

no it doesn't.
i use a custom_php.ini for mine.
i turn all the bad stuff off.

Having "safe mode" off might save you from "safe mode" errors =) No offence intended.
Otsikko: Re: RC3: New theme failed
Kirjoitti: sawz - elokuu 25, 2006, 08:00:01 AP
Lainaus käyttäjältä: nightware - elokuu 25, 2006, 07:52:25 AP
Having "safe mode" off might save you from "safe mode" errors =) No offence intended.

my safe mode is off.
i don't  understand what you meant by that.
Otsikko: Re: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 08:34:12 AP
Just that the error message I posted was a safe mode related. If you disable safe mode you probably wont get those errors.

I think the problem is that a user by the name of httpd created a directory. This may work with safe mode off, but not if it is on.
Otsikko: Re: RC3: New theme failed
Kirjoitti: sawz - elokuu 25, 2006, 08:50:56 AP
your error is safe mode related.
are you familiar with phpinfo.php (http://www.simplemachines.org/community/index.php?topic=18250.0)?
Otsikko: Re: RC3: New theme failed
Kirjoitti: nightware - elokuu 25, 2006, 08:54:25 AP
Lainaus käyttäjältä: sawz - elokuu 25, 2006, 08:50:56 AP
your error is safe mode related.
are you familiar with phpinfo.php (http://www.simplemachines.org/community/index.php?topic=18250.0)?

I am. Guess I never put one on that site...Its there now ;)

http://www.2md-lyngby.dk/phpinfo.php (http://www.2md-lyngby.dk/phpinfo.php)
Otsikko: Re: RC3: New theme failed
Kirjoitti: sawz - elokuu 25, 2006, 08:59:23 AP
i sent you a PM with a link for a custom php.ini.
this may be useful for you.