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, 58 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - "Access Denied" - clean install SuSE 8.1, MySQL up [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Sledge
Guest






PostPosted: Fri Mar 21, 2003 6:29 am Reply with quoteBack to top

I've got a nice fresh install of 6.5, fixed all the problem analyze.php came up with, including upgrading MySQL to the latest from mysql.com. Prior to the MySQL upgrade, everything was going just fine, since however, after logging in as Admin, everything is "Access Denied"... Not one of the Icons on the page does anything but "Access Denied", even trying to edit the default stories, etc... "Access Denied".

I'll admit I know jack about MySQL other than the little bit of walking through I've done for PHP-Nuke and phpMyAdmin. This is on my personal box sitting on my desk (to be co-located once I get it configured), so I can try just about anything needed to get this working. The only down side is that until I get it colocated no one out in the real world can hit the box (i.e. for you guys to see my analyze output)... so I'm going to include the analyze.php output in this msg in case it helps....

Your config.php valuesType Value
dbhost localhost
dbname nuke
dbuname root
prefix nuke
user_prefix nuke
dbtype MySQL

GD Library Information Extension Status
Loaded

MySQL Connection Transcript for PHP-Nuke Powered SiteDestination Result
MySQL Health Check Successful
MySQL Server: localhost Successful
MySQL Datbase: nuke Successful
MySQL Username: root Successful

PHP Specific Values for PHP-Nuke Powered SiteCategory Value
PHP Version 4.2.2

Operating System Data for PHP-Nuke Powered SiteType Value
OS Type Linux amdsim7 2.4.19 #1 Mon Oct 28 13:34:58 UTC 2002 i686 unknown

MySQL Specific Values for PHP-Nuke Powered SiteCategory Value
Server Version 3.23.56
Client Version 3.23.52
Host Information Localhost via UNIX socket
Protocol Information 10

phpBB2 Port Values for PHP-Nuke Powered SiteTheme ID Style Name Template Name Version
1 subSilver subSilver 2.0.4

PHP-Nuke Values for PHP-Nuke Powered SiteDefault_Theme Version Locale Language
DeepBlue 6.5 en_US english

All Available MySQL DatabasesDatabase Name
mysql
nuke
test

Module Data for PHP-Nuke Powered SiteModule Active Code View Code
Addon_Sample disabled Registered Users
AvantGo active All Visitors
Community disabled All Visitors
Content disabled All Visitors
Downloads active All Visitors
Encyclopedia disabled All Visitors
FAQ disabled All Visitors
Feedback active All Visitors
Forums disabled All Visitors
Journal active All Visitors
Members_List disabled Registered Users
MS_Analysis disabled All Visitors
News active All Visitors
NuCalendar disabled All Visitors
Nuke_Tools disabled All Visitors
Private_Messages active All Visitors
Recipes disabled All Visitors
Recommend_Us active All Visitors
Reviews disabled All Visitors
Search active All Visitors
Sections disabled All Visitors
Statistics active All Visitors
Stories_Archive active All Visitors
Submit_News active All Visitors
Surveys active All Visitors
Top active All Visitors
Topics active All Visitors
WebMail active Registered Users
Web_Links active All Visitors
Your_Account active All Visitors

Block Data for PHP-Nuke Powered SiteBlock Active Code View Code
Administration active Administrators
Amazon active All Visitors
Big Story of Today active All Visitors
Categories Menu disabled All Visitors
Information active All Visitors
Languages active All Visitors
Login active Anonymous
Modules active All Visitors
Old Articles active All Visitors
Random Headlines disabled All Visitors
Search disabled All Visitors
Survey active All Visitors
User's Custom Box active Registered Users
Who's Online active All Visitors

Member Special Ranks for PHP-Nuke Powered SitephpBB2 Rank Title PHP-Nuke Rank Level Member Name Member UID

Catch-All Administrators for PHP-Nuke Powered SitePHP-Nuke Rank Level Member Name Member UID

Catch-All Moderators for PHP-Nuke Powered SitePHP-Nuke Rank Level Member Name Member UID

PHP-Nuke Show Tables for PHP-Nuke Powered SiteNumber Table Name Fields Records
1 nuke_authors 22 1
2 nuke_autonews 13 0
3 nuke_banner 12 0
4 nuke_bannerclient 7 0
5 nuke_bbauth_access 14 0
6 nuke_bbbanlist 4 0
7 nuke_bbcategories 3 0
8 nuke_bbconfig 2 59
9 nuke_bbdisallow 2 0
10 nuke_bbforum_prune 4 0
11 nuke_bbforums 22 0
12 nuke_bbgroups 6 2
13 nuke_bbposts 13 0
14 nuke_bbposts_text 4 0
15 nuke_bbprivmsgs 11 0
16 nuke_bbprivmsgs_text 3 0
17 nuke_bbranks 6 2
18 nuke_bbsearch_results 3 0
19 nuke_bbsearch_wordlist 3 0
20 nuke_bbsearch_wordmatch 3 0
21 nuke_bbsessions 7 0
22 nuke_bbsmilies 4 44
23 nuke_bbthemes 43 1
24 nuke_bbthemes_name 31 1
25 nuke_bbtopics 13 0
26 nuke_bbtopics_watch 3 0
27 nuke_bbuser_group 3 2
28 nuke_bbvote_desc 5 0
29 nuke_bbvote_results 4 0
30 nuke_bbvote_voters 3 0
31 nuke_bbwords 3 0
32 nuke_blocks 13 14
33 nuke_comments 12 0
34 nuke_config 55 1
35 nuke_contactbook 15 0
36 nuke_counter 3 19
37 nuke_downloads_categories 4 0
38 nuke_downloads_downloads 17 0
39 nuke_downloads_editorials 5 0
40 nuke_downloads_modrequest 14 0
41 nuke_downloads_newdownload 12 0
42 nuke_downloads_votedata 7 0
43 nuke_encyclopedia 5 0
44 nuke_encyclopedia_text 5 0
45 nuke_ephem 6 0
46 nuke_faqAnswer 4 0
47 nuke_faqCategories 3 0
48 nuke_headlines 3 55
49 nuke_journal 10 0
50 nuke_journal_comments 6 0
51 nuke_journal_stats 6 0
52 nuke_links_categories 4 0
53 nuke_links_editorials 5 0
54 nuke_links_links 14 0
55 nuke_links_modrequest 9 0
56 nuke_links_newlink 9 0
57 nuke_links_votedata 7 0
58 nuke_main 1 1
59 nuke_message 8 1
60 nuke_modules 6 30
61 nuke_msanalysis_admin 8 1
62 nuke_msanalysis_browsers 3 1
63 nuke_msanalysis_countries 4 1
64 nuke_msanalysis_domains 3 263
65 nuke_msanalysis_modules 3 0
66 nuke_msanalysis_online 9 6
67 nuke_msanalysis_os 3 1
68 nuke_msanalysis_referrals 3 1
69 nuke_msanalysis_scr 3 1
70 nuke_msanalysis_search 3 0
71 nuke_msanalysis_users 9 0
72 nuke_nucal_bydate 11 0
73 nuke_nucal_recurring 14 0
74 nuke_pages 12 0
75 nuke_pages_categories 3 0
76 nuke_poll_check 3 0
77 nuke_poll_data 4 12
78 nuke_poll_desc 6 1
79 nuke_pollcomments 12 0
80 nuke_popsettings 11 0
81 nuke_priv_msgs 8 0
82 nuke_public_messages 4 0
83 nuke_queue 9 0
84 nuke_quotes 2 1
85 nuke_referer 2 2
86 nuke_related 4 0
87 nuke_reviews 12 0
88 nuke_reviews_add 10 0
89 nuke_reviews_comments 6 0
90 nuke_reviews_main 2 1
91 nuke_seccont 6 0
92 nuke_sections 3 0
93 nuke_session 4 1
94 nuke_stats_date 4 365
95 nuke_stats_hour 5 48
96 nuke_stats_month 3 12
97 nuke_stats_year 2 1
98 nuke_stories 19 0
99 nuke_stories_cat 3 0
100 nuke_topics 5 1
101 nuke_users 62 2
102 nuke_users_temp 7 0

php.ini location for PHP-Nuke Powered Sitephp.ini location
/etc/php.ini

php.ini Configuration for PHP-Nuke Powered SiteGlobal / Local / Access : php.ini data
The Key for [access]
Constant Value Meaning
PHP_INI_USER 1 Entry can be set in user scripts
PHP_INI_PERDIR 2 Entry can be set in php.ini, .htaccess, or httpd.conf
PHP_INI_SYSTEM 4 Entry can be set in php.ini, or httpd.conf
PHP_INI_ALL 7 Entry can be set anywhere
Array
(
[allow_call_time_pass_reference] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 6
)

[allow_url_fopen] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[always_populate_raw_post_data] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[arg_separator.input] => Array
(
[global_value] => &
[local_value] => &
[access] => 6
)

[arg_separator.output] => Array
(
[global_value] => &
[local_value] => &
[access] => 7
)

[asp_tags] => Array
(
[global_value] =>
[local_value] =>
[access] => 6
)

[assert.active] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[assert.bail] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[assert.callback] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[assert.quiet_eval] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[assert.warning] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[auto_append_file] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[auto_prepend_file] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[browscap] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[child_terminate] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[default_charset] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[default_mimetype] => Array
(
[global_value] => text/html
[local_value] => text/html
[access] => 7
)

[define_syslog_variables] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[disable_functions] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[display_errors] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[display_startup_errors] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[doc_root] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[enable_dl] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 4
)

[engine] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[error_append_string] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[error_log] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[error_prepend_string] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[error_reporting] => Array
(
[global_value] => 2039
[local_value] => 2039
[access] => 7
)

[expose_php] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 4
)

[extension_dir] => Array
(
[global_value] => /usr/share/extensions/no-debug-non-zts-20020429
[local_value] => /usr/share/extensions/no-debug-non-zts-20020429
[access] => 4
)

[file_uploads] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[gpc_order] => Array
(
[global_value] => GPC
[local_value] => GPC
[access] => 7
)

[highlight.bg] => Array
(
[global_value] => #FFFFFF
[local_value] => #FFFFFF
[access] => 7
)

[highlight.comment] => Array
(
[global_value] => #FF9900
[local_value] => #FF9900
[access] => 7
)

[highlight.default] => Array
(
[global_value] => #0000CC
[local_value] => #0000CC
[access] => 7
)

[highlight.html] => Array
(
[global_value] => #000000
[local_value] => #000000
[access] => 7
)

[highlight.keyword] => Array
(
[global_value] => #006600
[local_value] => #006600
[access] => 7
)

[highlight.string] => Array
(
[global_value] => #CC0000
[local_value] => #CC0000
[access] => 7
)

[html_errors] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 4
)

[ignore_user_abort] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[implicit_flush] => Array
(
[global_value] =>
[local_value] =>
[access] => 6
)

[include_path] => Array
(
[global_value] => .:/usr/share/php
[local_value] => .:/usr/share/php
[access] => 7
)

[last_modified] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[ldap.max_links] => Array
(
[global_value] => -1
[local_value] => -1
[access] => 4
)

[log_errors] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[magic_quotes_gpc] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[magic_quotes_runtime] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[magic_quotes_sybase] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[max_execution_time] => Array
(
[global_value] => 30
[local_value] => 30
[access] => 7
)

[mbstring.detect_order] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mbstring.func_overload] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 4
)

[mbstring.http_input] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mbstring.http_output] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mbstring.internal_encoding] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mbstring.substitute_character] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mcrypt.algorithms_dir] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mcrypt.modes_dir] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[memory_limit] => Array
(
[global_value] => 8M
[local_value] => 8M
[access] => 7
)

[mysql.allow_persistent] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 4
)

[mysql.default_host] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mysql.default_password] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mysql.default_port] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mysql.default_socket] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mysql.default_user] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[mysql.max_links] => Array
(
[global_value] => -1
[local_value] => -1
[access] => 4
)

[mysql.max_persistent] => Array
(
[global_value] => -1
[local_value] => -1
[access] => 4
)

[odbc.allow_persistent] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 4
)

[odbc.check_persistent] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 4
)

[odbc.default_db] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[odbc.default_pw] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[odbc.default_user] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[odbc.defaultbinmode] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[odbc.defaultlrl] => Array
(
[global_value] => 4096
[local_value] => 4096
[access] => 7
)

[odbc.max_links] => Array
(
[global_value] => -1
[local_value] => -1
[access] => 4
)

[odbc.max_persistent] => Array
(
[global_value] => -1
[local_value] => -1
[access] => 4
)

[open_basedir] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[output_buffering] => Array
(
[global_value] =>
[local_value] =>
[access] => 6
)

[output_handler] => Array
(
[global_value] =>
[local_value] =>
[access] => 6
)

[pgsql.allow_persistent] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 4
)

[pgsql.auto_reset_persistent] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[pgsql.max_links] => Array
(
[global_value] => -1
[local_value] => -1
[access] => 4
)

[pgsql.max_persistent] => Array
(
[global_value] => -1
[local_value] => -1
[access] => 4
)

[post_max_size] => Array
(
[global_value] => 8M
[local_value] => 8M
[access] => 4
)

[precision] => Array
(
[global_value] => 12
[local_value] => 12
[access] => 7
)

[register_argc_argv] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[register_globals] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[safe_mode] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[safe_mode_allowed_env_vars] => Array
(
[global_value] => PHP_
[local_value] => PHP_
[access] => 4
)

[safe_mode_exec_dir] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[safe_mode_gid] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[safe_mode_include_dir] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[safe_mode_protected_env_vars] => Array
(
[global_value] => LD_LIBRARY_PATH
[local_value] => LD_LIBRARY_PATH
[access] => 4
)

[sendmail_from] => Array
(
[global_value] => me@localhost.com
[local_value] => me@localhost.com
[access] => 7
)

[sendmail_path] => Array
(
[global_value] => /usr/sbin/sendmail -t -i
[local_value] => /usr/sbin/sendmail -t -i
[access] => 4
)

[session.auto_start] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[session.cache_expire] => Array
(
[global_value] => 180
[local_value] => 180
[access] => 7
)

[session.cache_limiter] => Array
(
[global_value] => nocache
[local_value] => nocache
[access] => 7
)

[session.cookie_domain] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[session.cookie_lifetime] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[session.cookie_path] => Array
(
[global_value] => /
[local_value] => /
[access] => 7
)

[session.cookie_secure] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[session.entropy_file] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[session.entropy_length] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[session.gc_maxlifetime] => Array
(
[global_value] => 1440
[local_value] => 1440
[access] => 7
)

[session.gc_probability] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[session.name] => Array
(
[global_value] => PHPSESSID
[local_value] => PHPSESSID
[access] => 7
)

[session.referer_check] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[session.save_handler] => Array
(
[global_value] => files
[local_value] => files
[access] => 7
)

[session.save_path] => Array
(
[global_value] => /tmp
[local_value] => /tmp
[access] => 7
)

[session.serialize_handler] => Array
(
[global_value] => php
[local_value] => php
[access] => 7
)

[session.use_cookies] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[session.use_trans_sid] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 7
)

[short_open_tag] => Array
(
[global_value] => 1
[local_value] => 1
[access] => 6
)

[SMTP] => Array
(
[global_value] => localhost
[local_value] => localhost
[access] => 7
)

[sql.safe_mode] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[track_errors] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[unserialize_callback_func] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[upload_max_filesize] => Array
(
[global_value] => 2M
[local_value] => 2M
[access] => 7
)

[upload_tmp_dir] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[url_rewriter.tags] => Array
(
[global_value] => a=href,area=href,frame=src,input=src,form=fakeentry
[local_value] => a=href,area=href,frame=src,input=src,form=fakeentry
[access] => 7
)

[user_dir] => Array
(
[global_value] =>
[local_value] =>
[access] => 4
)

[variables_order] => Array
(
[global_value] => EGPCS
[local_value] => EGPCS
[access] => 7
)

[xbithack] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[xmlrpc_error_number] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 7
)

[xmlrpc_errors] => Array
(
[global_value] => 0
[local_value] => 0
[access] => 4
)

[y2k_compliance] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

[zlib.output_compression] => Array
(
[global_value] =>
[local_value] =>
[access] => 7
)

)



· Admin Security Image Found: images/admin/code_bg.jpg ·

· Your_Account Security Image Found: modules/Your_Account/images/code_bg.jpg ·

Security Code Graphic for PHP-Nuke Powered Site
Find all posts by Anonymous
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri Mar 28, 2003 4:47 am Reply with quoteBack to top

if you have access to your php.ini then activate register_globals (you'll need to restart apache for this to take affect)

if not, then let us know
Find all posts by ArtificialIntelView user's profileSend private message
Sledge
Guest






PostPosted: Wed Apr 09, 2003 11:08 am Reply with quoteBack to top

I made the change, restarted the server (and init 6'd the machine for good measure), to no effect. Sad

Odd thing, I went through and tried all the Admin links, they all give my the Access Denied page except Backup DB (which tries to send me the backup file of the sql db), and the Forums which sends me over to the Forums admin menu.
Find all posts by Anonymous
Sledge
Guest






PostPosted: Wed Apr 09, 2003 12:00 pm Reply with quoteBack to top

After digging around all the forums here and back at PHP-Nuke, I finally tried something that shouldn't have worked, and it did.

Since I'm using MySQL 4.0.12 I figured I need to set $dbtype = "mysql4" in config.php, this would make sense no? However, once I set it back to "MySQL" it began working perfectly.

Seems like this might be a bug that may need correcting somewhere, but this appears to be the quick fix.

Worked both for my W2K/MySQL4.0.12/PHP4.3.1/Apache2.0.45 setup, and my SuSE8.1 setup...
Find all posts by Anonymous
Metroman
Guest






PostPosted: Wed Apr 09, 2003 12:25 pm Reply with quoteBack to top

Very Happy Thanks, had the same problem, access denied for admin on all except Forum. (never tried backupDB)

The solution worked for me as well.

However as a note, I had to set config.php to mysql4 to get it to launch admin.php. Initially nothing worked with MySQL setting. (Lots and Lots of errors) I figured my mistake was the MySQL setting, after changing everything worked except as mentioned. So never bothered to change until I saw this post.

Works now like a charm.

Windows 2000, Mysql 4.0.12, Apache 2.0.45, PHP4.3.1
Find all posts by Anonymous
aussiedude
Guest






PostPosted: Sun Jul 06, 2003 12:23 am Reply with quoteBack to top

Sorted it for me too, thanks.
So much for following instructions Wink
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Sun Jul 06, 2003 1:05 am Reply with quoteBack to top

Yep. I have posted on several occasions that you should not use mysql4. It flat out doesn't work and I haven't had time to dig into the code to figure out why. MySQL works for ALL MySQL releases.

_________________
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
Stuck
Guest






PostPosted: Tue Jul 22, 2003 4:21 pm Reply with quoteBack to top

I still get the access denied messages. I had to remove the security code feature just to log in, and now that I am logged in, I can't access anything. In case it matters, I moved this site from windows xp platform to a unix platform. I also get 'this module not working' messages.
Find all posts by Anonymous
Stuck
Guest






PostPosted: Tue Jul 22, 2003 4:25 pm Reply with quoteBack to top

After takeing a close look at my analyse.php... I notice my provider is useing MySql v3.23
If this is not the obvious answer.. I qould apreciate any other suggestions as well.
Find all posts by Anonymous
Stuck
Guest






PostPosted: Thu Jul 24, 2003 3:20 pm Reply with quoteBack to top

Ok, checking one of my other sites, I notice that has the same MySQL server my site. I can not even use te backup DB or forum admin options.
I'm trying to figure out what is going on, I know the line that fails is

if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }

I'm not sure what this line is doing, but it occurs in just about every file in the admin section. If I could figure out what is suppose to make the eregi() call return true, I could try to fgure out what the problem is. Again, I am looking for any information somebody can give me.
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jul 24, 2003 3:48 pm Reply with quoteBack to top

Load this script and post back the link/results. Are you on a Zeus host perchance?
Code:

<?
echo 'Server PHP_SELF = '.$_SERVER["PHP_SELF"];
echo '<br /><br />';
echo 'Server_Vars PHP_SELF = '.$_HTTP_SERVER_VARS["PHP_SELF"];
?>

_________________
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
Stuck
Guest






PostPosted: Fri Jul 25, 2003 8:07 am Reply with quoteBack to top

Server PHP_SELF =

Server_Vars PHP_SELF =

Thats what the script produces. Not very much Razz. It is a CIHost shared unix server.
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jul 25, 2003 8:17 am Reply with quoteBack to top

They are not populating the PHP_SELF variable and nuke requires it. Nuke will not work. Contact them and ask them to populate it. They will, no doubt tell you that it is the application's responsibilty blah-blah-blah and that it's a security risk. They are wrong but I think other users have been down this path and lost. You will need to manually change all instances of $_SERVER[ to $HTTP_SERVER_VARS[ for nuke to work in your environment. Better yet, change hosts.

_________________
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
Stuck
Guest






PostPosted: Fri Jul 25, 2003 8:30 am Reply with quoteBack to top

Well, the host is really out of my control. But changeing every instance of that would not be a huge problem.. (looks up man page for SED). But I did notice that neither echo returned any data. So I am wondering, replacing one empty pointer with another doesn't seem like it would do a whole lot. I will try it, but I would appreciate some education on why/how this works. I am not new programing, but have yet to master the little details of PHP Razz
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jul 25, 2003 8:34 am Reply with quoteBack to top

Then they have blocked it altogether. That is a host issue unless something else is happening that I am not aware of. They need to turn register_globals On. You can try adding this line to .htaccess file
PHP_FLAG register_globals On

_________________
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
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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.893 Seconds - 263 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::