You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 46 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Theme wont change [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Mercwar
Sergeant
Sergeant


Joined: Apr 14, 2003
Posts: 79


PostPosted: Sun Apr 27, 2003 8:42 pm Reply with quoteBack to top

awsome site man hey can u plz tell me how the hel u customized the site ie images behind blocks and such and buttons for links and in block? i been looking everywhere to find out how and cant im a real php nuke noob
Find all posts by MercwarView user's profileSend private messageVisit poster's website
PrimalFear
Sergeant
Sergeant


Joined: Mar 13, 2003
Posts: 129


PostPosted: Sat Jun 07, 2003 2:07 am Reply with quoteBack to top

Hi I am also having a problem with changing themes, Ive install a few phpnuke sites now so this particular problem has never accured & Ive tried everything to fix it I know.

Ive uploaded several new themes to try out, the one I want to use is BricK.
I uploaded all my themes to the themes folder as Ive done on a few other sites with no sweat.

But when I attempt to change it in My Account nothing happens it stays on the same theme I have running now.

If I attempt to do it via admin I end up getting a SAFE MODE Restriction & the only way to fix it is to go into myphpadmin & change the nuke_config settings.

So I decided to upgrade it to 6.6 to see if that fixes the problem so I uploaded all the files & then using my browser to go to mysite.com/html/upgrade65-66.php.
But when I do so I get this.


Warning: SAFE MODE Restriction in effect. The script whose uid is 537 is not allowed to access ./mainfile.php owned by uid 0 in /home/virtual/site32/fst/var/www/html/html/upgrade65-66.php on line 15

Warning: Failed opening 'mainfile.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site32/fst/var/www/html/html/upgrade65-66.php on line 15

Fatal error: Call to a member function on a non-object in /home/virtual/site32/fst/var/www/html/html/upgrade65-66.php on line 18


Guys Ive tried everything I know even reinstalling the whole site but same probs every time.
Its bugging the hell out of me & I dont know any more things to try.

If anyone can help I would apprecizate it.

www.deadboneplatoon.com

Thanks for reading.
Find all posts by PrimalFearView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sat Jun 07, 2003 4:10 am Reply with quoteBack to top

The safe mode restriction is a control placed on you by your host to keep you locked into what directories you can change. I would contact them and tell them you're having this problem. It is probably is a setup error on your account. Two other things. Is your config.php file in the nuke root? And are all the files you are attempting to access in the nuke root directory?

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
PrimalFear
Sergeant
Sergeant


Joined: Mar 13, 2003
Posts: 129


PostPosted: Sat Jun 07, 2003 11:20 am Reply with quoteBack to top

Raven I admin also the host it is my server, Ive set up PHPnukes on the exact same type of site before without this error.

The config.php is in root where its supposed to be I think, basically I uploaded the files as I would normally in my case they go to the mainwesite_html folder thats the name of the folder similar to public_html just a different name, the default index.html file is located there.

If this is a restriction by me any idea how I would correct it, that folder is chmod 777 just to point out also.

Thanks Raven.


Last edited by PrimalFear on Sat Jun 07, 2003 11:36 am; edited 1 time in total
Find all posts by PrimalFearView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sat Jun 07, 2003 11:36 am Reply with quoteBack to top

also, this is from the php.ini:
;
; Safe Mode
;
safe_mode = Off

; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
safe_mode_gid = Off

Try setting safe_mode_gid = On

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff

Last edited by Raven on Thu Jun 12, 2003 4:57 am; edited 1 time in total
Find all posts by RavenView user's profileSend private messageVisit poster's website
PrimalFear
Sergeant
Sergeant


Joined: Mar 13, 2003
Posts: 129


PostPosted: Sat Jun 07, 2003 12:22 pm Reply with quoteBack to top

Silly Question where is the php.ini file loacted?
Find all posts by PrimalFearView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sat Jun 07, 2003 12:24 pm Reply with quoteBack to top

If you host it ... Laughing

Run phpinfo() to see where it is on your server.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
PrimalFear
Sergeant
Sergeant


Joined: Mar 13, 2003
Posts: 129


PostPosted: Sat Jun 07, 2003 4:56 pm Reply with quoteBack to top

Nope never did the trick any more thoughts.
Cheers Raven.
Find all posts by PrimalFearView user's profileSend private message
chris-au
Elite Nuker
Elite Nuker


Joined: Jan 31, 2003
Posts: 717


PostPosted: Sat Jun 07, 2003 11:34 pm Reply with quoteBack to top

I never heard that safe_mode on or off would make any difference when installing and/or editing the MySQL database.

When safe_mode is set to on, a script can't make a file on the 'fly'.
That can only be done with a few other tricks.
Of course if you control your site, it could be that the part where your database files are stored are set to read (444) only.

Quote:
upgrade65-66.php


You said you get errors about mainfile.php not found or whatever.

Did you copy upgrade65-66.php to the root of your phpNuke setup?
If you did not, do it and try again.
Find all posts by chris-auView user's profileSend private messageVisit poster's website
PrimalFear
Sergeant
Sergeant


Joined: Mar 13, 2003
Posts: 129


PostPosted: Mon Jun 09, 2003 3:06 pm Reply with quoteBack to top

Yip I had that file in the root & yet no go, so I did a database back up & reinstalled the entire site & that did the trick.

If at first you dont succeed go back & start again.
Thanks guys.
Find all posts by PrimalFearView user's profileSend private message
El_Supremo
Sergeant
Sergeant


Joined: May 23, 2003
Posts: 126


PostPosted: Wed Jun 11, 2003 12:19 pm Reply with quoteBack to top

This may be a stupid thought, and I know you've solved it, but I was puzzling over your thread too, and I wondered whether certain privileges
may have somehow been revoked for the nuke mysql user? It was when you said you couldn't change other things aswell.

_________________
Who does number two work for?
Find all posts by El_SupremoView user's profileSend private message
lamped
Nuke Soldier
Nuke Soldier


Joined: Jun 17, 2003
Posts: 17


PostPosted: Mon Jun 30, 2003 9:39 pm Reply with quoteBack to top

I'm having the same problem. I used to be able to change themes now I can't.
I'm using 6.5 and I installed the mainfile.php linked from this post but same problem.

I have tried changing both from admin and your account and restarted pc and all that.

Like mentioned by someone else in this post the last thing I installed was also event calendar.

Site is www.lamped.com help!
Find all posts by lampedView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Mon Jun 30, 2003 9:43 pm Reply with quoteBack to top

Don't know if there's any information here to help you, but try this post http://nukecops.com/postlite3544-.html

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
lamped
Nuke Soldier
Nuke Soldier


Joined: Jun 17, 2003
Posts: 17


PostPosted: Mon Jun 30, 2003 9:53 pm Reply with quoteBack to top

Raven wrote:
Don't know if there's any information here to help you, but try this post http://nukecops.com/postlite3544-.html

Thanks but none of it seems to be really relevent. I'm not 100% event calendar is what is causing the problem. Everything else runs fine, just the theme wont change.
Find all posts by lampedView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.240 Seconds - 208 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::