| Author |
Message |
Stuck
Guest

|
Posted:
Fri Jul 25, 2003 10:50 am |
  |
When I get some Time I will try that, thank you very much for your help so far.
if it would help figure it out, which you might hava already, here is the php.ini settings
Array
(
[engine] => 1
[short_open_tag] => 1
[asp_tags] => 1
[precision] => 14
[y2k_compliance] =>
[output_buffering] =>
[output_handler] =>
[implicit_flush] =>
[allow_call_time_pass_reference] => 1
[safe_mode] =>
[safe_mode_exec_dir] =>
[safe_mode_allowed_env_vars] => PHP_
[safe_mode_protected_env_vars] => LD_LIBRARY_PATH
[disable_functions] =>
[highlight.string] => #DD0000
[highlight.comment] => #FF8000
[highlight.keyword] => #007700
[highlight.bg] => #FFFFFF
[highlight.default] => #0000BB
[highlight.html] => #000000
[expose_php] => 1
[max_execution_time] => 30
[memory_limit] => 8M
[error_reporting] => 2039
[display_errors] => 1
[display_startup_errors] =>
[log_errors] =>
[track_errors] =>
[warn_plus_overloading] =>
[variables_order] => EGPCS
[register_globals] => 1
[register_argc_argv] => 1
[post_max_size] => 8M
[gpc_order] => GPC
[magic_quotes_gpc] => 1
[magic_quotes_runtime] =>
[magic_quotes_sybase] =>
[auto_prepend_file] =>
[auto_append_file] =>
[default_mimetype] => text/html
[include_path] =>
[doc_root] =>
[user_dir] =>
[extension_dir] => ./
[enable_dl] => 1
[file_uploads] => 1
[upload_max_filesize] => 2M
[allow_url_fopen] => 1
[define_syslog_variables] =>
[SMTP] => localhost
[sendmail_from] => me@localhost.com
[debugger.host] => localhost
[debugger.port] => 7869
[debugger.enabled] =>
[sql.safe_mode] =>
[odbc.allow_persistent] => 1
[odbc.check_persistent] => 1
[odbc.max_persistent] => -1
[odbc.max_links] => -1
[odbc.defaultlrl] => 4096
[odbc.defaultbinmode] => 1
[mysql.allow_persistent] => 1
[mysql.max_persistent] => -1
[mysql.max_links] => -1
[mysql.default_port] =>
[mysql.default_socket] =>
[mysql.default_host] =>
[mysql.default_user] =>
[mysql.default_password] =>
[msql.allow_persistent] => 1
[msql.max_persistent] => -1
[msql.max_links] => -1
[pgsql.allow_persistent] => 1
[pgsql.max_persistent] => -1
[pgsql.max_links] => -1
[sybase.allow_persistent] => 1
[sybase.max_persistent] => -1
[sybase.max_links] => -1
[sybase.min_error_severity] => 10
[sybase.min_message_severity] => 10
[sybase.compatability_mode] =>
[sybct.allow_persistent] => 1
[sybct.max_persistent] => -1
[sybct.max_links] => -1
[sybct.min_server_severity] => 10
[sybct.min_client_severity] => 10
[bcmath.scale] => 0
[ifx.default_host] =>
[ifx.default_user] =>
[ifx.default_password] =>
[ifx.allow_persistent] => 1
[ifx.max_persistent] => -1
[ifx.max_links] => -1
[ifx.textasvarchar] => 0
[ifx.byteasvarchar] => 0
[ifx.charasvarchar] => 0
[ifx.blobinfile] => 0
[ifx.nullformat] => 0
[session.save_handler] => files
[session.save_path] => /tmp
[session.use_cookies] => 1
[session.name] => PHPSESSID
[session.auto_start] => 0
[session.cookie_lifetime] => 0
[session.cookie_path] => /
[session.cookie_domain] =>
[session.serialize_handler] => php
[session.gc_probability] => 1
[session.gc_maxlifetime] => 1440
[session.referer_check] =>
[session.entropy_length] => 0
[session.entropy_file] =>
[session.cache_limiter] => nocache
[session.cache_expire] => 180
[session.use_trans_sid] => 1
[url_rewriter.tags] => a=href,area=href,frame=src,input=src,form=fakeentry
[mssql.allow_persistent] => 1
[mssql.max_persistent] => -1
[mssql.max_links] => -1
[mssql.min_error_severity] => 10
[mssql.min_message_severity] => 10
[mssql.compatability_mode] =>
[ingres.allow_persistent] => 1
[ingres.max_persistent] => -1
[ingres.max_links] => -1
[ingres.default_database] =>
[ingres.default_user] =>
[ingres.default_password] =>
[pfpro.defaulthost] => test.signio.com
[pfpro.defaultport] => 443
[pfpro.defaulttimeout] => 30
[sockets.use_system_read] => 1
) |
|
|
 |
 |
Bishop
Guest

|
Posted:
Fri Jul 25, 2003 12:38 pm |
  |
I have this same problem, and after reading through the posts and trying the tricks that Raven suggested I think I may just have a CHMOD problem. I tried the PHP_SELF test suggested above and it returned this,
Server PHP_SELF = /raven.php
Server_Vars PHP_SELF =
(I named the file raven.php)
I also tried the Humpa selftest and it returned this
_SERVER['PHP_SELF'] is /phpselftest.php
PHP_SELF is /phpselftest.php
Is this what I should see for a PHP_SELF test or should some other variable come up? If this looks OK, what CHMOD settings should I set for folders. The instructions tell me that the defauld settings will work. Thanks for all help. |
|
|
 |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Fri Jul 25, 2003 12:40 pm |
  |
Yes, it should always return the script that is running.
Folders - 755
Files (except ultramode.txt) - 644
ultramode.txt - 664 |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Last edited by Raven on Fri Jul 25, 2003 1:16 pm; edited 1 time in total |
|
    |
 |
Bishop
Guest

|
Posted:
Fri Jul 25, 2003 12:59 pm |
  |
I don't seem to have an ultramode.php. There is an ultramode.txt it has this in it:
General purpose self-explanatory file with news headlines
%%
Welcome to PHP-Nuke
/modules.php?name=News&file=article&sid=1
2000-04-12 12:00:00
god
PHP-Nuke
1
phpnuke.gif
Should I rename it to a .php file? |
|
|
 |
 |
Stuck
Guest

|
Posted:
Fri Jul 25, 2003 1:09 pm |
  |
I thought about the chmod thing, But I know it isn't a problem. With as much frustration as I have been having, you find yourself doing silly things like 'chmod -Rf 755 *'. I think i also did added an error_reporting(0); call after every <? occuring in every file. I still haven't had a chance to see if the .htaccess solution may work. |
|
|
 |
 |
bishop
Guest

|
Posted:
Fri Jul 25, 2003 1:16 pm |
  |
Currently my .htaccess file contains this
deny from all
Would I just add
PHP_FLAG register_globals On
So the file should look like this?
deny from all
PHP_FLAG register_globals On
And would I add this line to all .htaccess files? |
|
|
 |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Fri Jul 25, 2003 1:16 pm |
  |
|
    |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Fri Jul 25, 2003 1:19 pm |
  |
| bishop wrote: |
Currently my .htaccess file contains this
deny from all
Would I just add
PHP_FLAG register_globals On
So the file should look like this?
deny from all
PHP_FLAG register_globals On
And would I add this line to all .htaccess files? |
Also
PHP_VALUE error_reporting 2039
PHP_FLAG output_buffering On |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
Stuck
Guest

|
Posted:
Fri Jul 25, 2003 1:55 pm |
  |
Looking at my php.ini output, It looks like the only setting that conflicts with what I have heard so far is is the output_buffering. Hope that will fix it Course it says I have the correct error_reporting setting, but I know I have to overide that too. Thanx for all the help. |
|
|
 |
 |
Stuck
Guest

|
Posted:
Fri Jul 25, 2003 2:27 pm |
  |
Well, All I can say is Dont't Use CIHost for your php-nuke needs. According to the ini file, register globals is on, I also set it in my .htaccess file (which I copied to every concievable directory) If I don't manually overide error_reporting at runtime, That seeting won't take effect either. In short, they have something really messed up. Or I may be completely incompetant (I prefer the first choice) |
|
|
 |
 |
Bishop
Guest

|
Posted:
Fri Jul 25, 2003 4:20 pm |
  |
I added the lines
deny from all
PHP_FLAG register_globals On
PHP_VALUE error_reporting 2039
PHP_FLAG output_buffering On
to all of my .htaccess files and it still didn't work, Im going crazy. Everything seems to be in order but still nothing. I also deleted my cookies just in case, then tried it on a PC that i haddent accessed it on before. Anything else you can think of? |
|
|
 |
 |
Stuck
Guest

|
Posted:
Mon Jul 28, 2003 8:14 am |
  |
Well Bishop, you seem to have the same problem I have. Do you use CIHost for your webhosting? Anyway, if you figure this out, I would appreciate an email at mscoggin@nmsu.edu |
|
|
 |
 |
Bishop
Guest

|
Posted:
Wed Jul 30, 2003 6:50 am |
  |
Well I think Im just going to try and user a 5.5 version of Nuke. Hopefully I will be able to get around the Admin loop that I keep hearing about.  |
|
|
 |
 |
Stuck
Guest

|
Posted:
Wed Jul 30, 2003 8:19 am |
  |
I tried V6.0, didn't work, let me know if 5.5 does, though I really do need the blocks :/ |
|
|
 |
 |
Bishop
Guest

|
Posted:
Wed Jul 30, 2003 9:01 am |
  |
Before I go down the long road of installing 5.5 could someone take a look at http://www.newtware.com/analyze.php and let me know if there is anything here that would cause the Access denied problem I am having.
Thanks
 |
|
|
 |
 |
|
|