Author |
Message |
anarcho
Hangin' Around

Joined: Jan 17, 2006
Posts: 38
|
Posted:
Tue Aug 21, 2007 9:24 am |
|
clean installed RN v2.10.01 everything appears to work ok except when i try and change anything in Preferences it just returns me back to the home page. any ideas?? |
|
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Tue Aug 21, 2007 10:36 am |
|
Turn on error reporting in config.php and check your server error logs.
I would also possibly re-upload the files. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
 |
anarcho

|
Posted:
Tue Aug 21, 2007 11:23 am |
|
Gremmie wrote: | Turn on error reporting in config.php and check your server error logs.
I would also possibly re-upload the files. |
uploaded all the files again and turned on error reporting in the config file, nothing in the server error logs. |
|
|
|
 |
Gremmie

|
Posted:
Tue Aug 21, 2007 1:30 pm |
|
Can you look in your config table with phpMyAdmin and see if the values are getting saved?
I can't see how that is happening. Re-upload admin/modules/settings.php.
You might have to start debugging settings.php. |
|
|
|
 |
anarcho

|
Posted:
Tue Aug 21, 2007 1:39 pm |
|
uploaded settings.php still no luck looking in config table and values not getting saved unless i change them in phpMyAdmin
could it be that i can't write to my config file? never had this problem before on other servers ive got ravens nuke on, just a thought? |
|
|
|
 |
Gremmie

|
Posted:
Tue Aug 21, 2007 2:16 pm |
|
You don't need to write to your config file, it is only read by Nuke.
You said you have it in a sub-directory. Does the site URL you entered during setup match your current directory structure? |
|
|
|
 |
anarcho

|
Posted:
Tue Aug 21, 2007 2:26 pm |
|
Gremmie wrote: | You don't need to write to your config file, it is only read by Nuke.
You said you have it in a sub-directory. Does the site URL you entered during setup match your current directory structure? |
did i? well it is a Subdomain /public_html/salford and site is http://salford.2strokehosting.co.uk/
i did get this when i changed a setting in phpmyAdmin
Code:Affected rows: 1
SQL query:
UPDATE `http2_nuke`.`nuke_config` SET `user_news` = '0' WHERE CONVERT( `nuke_config`.`sitename` USING utf8 ) = 'salford knights SC' LIMIT 1 ;
| [/quote] |
|
|
|
 |
Gremmie

|
Posted:
Tue Aug 21, 2007 2:40 pm |
|
Probably a subdomain issue....I'll have to bow out now as my knowledge ends here...  |
|
|
|
 |
anarcho

|
Posted:
Tue Aug 21, 2007 3:36 pm |
|
tried it on the main site and i'm getting the same problem so it's not the issue of a subdomain |
|
|
|
 |
Gremmie

|
Posted:
Tue Aug 21, 2007 4:53 pm |
|
Are you using Apache? What version of PHP and MySQL? |
|
|
|
 |
anarcho

|
Posted:
Tue Aug 21, 2007 4:55 pm |
|
Apache version 1.3.37 (Unix)
PHP version 5.2.0
MySQL version 5.0.27-standard
Architecture i686
Operating system Linux |
|
|
|
 |
Gremmie

|
Posted:
Tue Aug 21, 2007 5:26 pm |
|
Wow, that's weird. That's a pretty standard setup; Nuke wasn't really designed to run on PHP 5, but many of us do without any problems. I'm running 5.2.2 on XAMPP. Normally I would say a corrupt file upload. But it sounds like you uploaded the files again. There is no header redirect in settings.php that sends you back to index.php, so I don't know what could be doing that.
Does it do that on any field you change? Try changing just one field at a time. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Aug 22, 2007 6:27 am |
|
Try this: clear out everything you have within Footer1, 2 and 3 (save off the data somewhere if you want to get it back). Need to rule out something... |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
anarcho

|
Posted:
Wed Aug 22, 2007 3:14 pm |
|
Gremmie wrote: | Wow, that's weird. That's a pretty standard setup; Nuke wasn't really designed to run on PHP 5, but many of us do without any problems. I'm running 5.2.2 on XAMPP. Normally I would say a corrupt file upload. But it sounds like you uploaded the files again. There is no header redirect in settings.php that sends you back to index.php, so I don't know what could be doing that.
Does it do that on any field you change? Try changing just one field at a time. |
yes does with any field |
|
|
|
 |
anarcho

|
Posted:
Wed Aug 22, 2007 3:17 pm |
|
montego wrote: | Try this: clear out everything you have within Footer1, 2 and 3 (save off the data somewhere if you want to get it back). Need to rule out something... |
where are these can only see footer.php in base of installation. |
|
|
|
 |
Gremmie

|
Posted:
Wed Aug 22, 2007 3:20 pm |
|
The footer lines are in the preferences. |
|
|
|
 |
anarcho

|
Posted:
Wed Aug 22, 2007 3:24 pm |
|
ok ive done that and it worked, now i'm even more puzzled as to why? |
|
|
|
 |
Gremmie

|
Posted:
Wed Aug 22, 2007 3:28 pm |
|
Me too. Montego? |
|
|
|
 |
montego

|
Posted:
Thu Aug 23, 2007 6:16 am |
|
Well, I am not sure I have the answer either because he has to be logged in as admin and unless he has removed the includes/nukesentinel.php file, he should not be hitting the "union" code check in mainfile.php.
anarcho, do you recall what you were trying to change the text to within any of those footer line text fields? |
|
|
|
 |
anarcho

|
Posted:
Thu Aug 23, 2007 6:30 am |
|
i wasn't only thing i was trying to change in preferences was 'Let users change News number in Home?' from yes to no its a clean install not touched anything yet including not got around to configing up sentinel |
|
|
|
 |
montego

|
Posted:
Thu Aug 23, 2007 6:42 am |
|
Something had to go wrong then in the installation then. I am guessing there may be missing files.
Please re-upload the includes directory (maybe use the FileZilla FTP client - free from http://sourceforge.net - to ensure a good upload). |
|
|
|
 |
anarcho

|
Posted:
Tue Aug 28, 2007 7:36 am |
|
montego wrote: | Something had to go wrong then in the installation then. I am guessing there may be missing files.
Please re-upload the includes directory (maybe use the FileZilla FTP client - free from http://sourceforge.net - to ensure a good upload). |
did everything you said montego and it still returns me to home instead of admin home???
one thing that i have noticed is that if i don't use code it works fine, its seems to have problems with stuff like
Code:You can syndicate our news using the file <a href="backend.php"><font class="footmsg_l">backend.php</font></a> or <a href="ultramode.txt"><font class="footmsg_l">ultramode.txt</font></a> <br /><br /><font class="footmsg_l"><a href="http://ravenphpscripts.com" title="Distributed by Raven PHP Scripts">Distributed by Raven PHP Scripts</a><br />New code written and maintained by the<a href="HowToInstall/credits.php" target="_blank"> RavenNuke™ TEAM</a></font>
|
also noticed i had the same problem when editing the admin message on the home page if i delete the html it works but if i don't it takes me back to home without changing anything. |
|
|
|
 |
montego

|
Posted:
Tue Aug 28, 2007 7:07 pm |
|
If you are using the advanced editor, you don't type in the HTML unless you clicked on the "Source" icon to enter in the HTML directory. With the advanced editor there is no need to write your own HTML usually...  |
|
|
|
 |
anarcho

|
Posted:
Wed Aug 29, 2007 12:54 am |
|
advanced editor is on in config yet its not showing on the site? |
|
|
|
 |
montego

|
Posted:
Wed Aug 29, 2007 6:43 am |
|
Three things come to mind about this:
1. You must have Javascript enabled on your browser. Might also need to check any firewall software.
2. Maybe there are files missing within the includes directory.
3. Could you have overwritten the mainfile.php script for one of your mods? The right code has to be in place there for it to work as well.
I have never not had this work or seen others not get it to work, so I suspect it is one of the above. But, one never knows with the variety of environments out there to run on... |
|
|
|
 |
|