| Author |
Message |
ryndog
Corporal


Joined: Apr 29, 2003
Posts: 58
Location: USA
|
Posted:
Thu May 01, 2003 2:45 am |
  |
I have been reading these forums and those at phpnuke for about 4 hours and trying out some fixes for an issue I am having with the security code. I hope that I have not missed anything, and I am hoping someone can help me here....
I have/had a working phpnuke board running on a host that was running the apache server. I have moved the site to a new host running that IIS 5. At first I ran into problems not getting the security code to come up, found out about the gd extensions that needed to be enalble in php.ini. I also modified my lines in your_account to solve the issue of users be redirected to thier profile page when loggin in. However, I am unable to get the security image to show, keeping regular users, and admins able to log in. Here are some tests ive done, and things I have tried:
INFO:
gd:
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
servers:
WIN2k - IIS 5
Latest version phpnuke (6.5)
Latest version php 4.3.1 (added the php_gd2.dll into php directory)
comments:
- I have no security image, not allowing regular users or admin to login (can't put in security code I am assuming is the only issue)
- I have a red "x" where the image should be.
- When right clicking on the image and copy properties and placing the url into another broweser, I still get a red "x" show no image avaiable.
- When place the numbers at the end of the url into the security code box, users are NOT able to log in (read about that somehwhere)
- I did uncomment the gd extention in php.ini, and uploaded a php_gd2.dll into the php directory.... no otehr files were uploaded for this probelm
I wish to keep this security box turned on, if not even just for the fact to understand why its not working as it worked just fine on my old host.
I tried to be specific as possible, and also list the things I have tried which I found in the forums. But after 4 hours I decided to ask.
The site is at www.clanhood.com.
I should be on AOL, ICQ, from about 8am to 12noon today (PST).
Thanks guys, I hope someone can help. |
Last edited by ryndog on Thu May 01, 2003 11:47 am; edited 1 time in total |
|
         |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Thu May 01, 2003 3:20 am |
  |
Just for curiosity, run analyzer. Does it show the image at the bottom of analyzer? Please post the link too. |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
ryndog
Corporal


Joined: Apr 29, 2003
Posts: 58
Location: USA
|
Posted:
Thu May 01, 2003 11:06 am |
  |
|
         |
 |
ryndog
Corporal


Joined: Apr 29, 2003
Posts: 58
Location: USA
|
Posted:
Thu May 01, 2003 11:41 am |
  |
I dont know if this will help solve the issue, but when I run the analyzer on the original host (where the security coding works) it says:
GD Library Information
Extension Status: Loaded
Where as at my new site (which I have full access t the server box) lists all this:
GD Library Information Type Value
GD Version bundled (2.0 compatible)
FreeType Support Yes
T1Lib Support No
GIF Read Support No
GIF Create Support No
JPG Support Yes
PNG Support Yes
WBMP Support Yes
XBM Support No
Does that help anyone to help me?
Analyzer on old working site: www.ryndog.com/analyzer.php
Analyzer on new not working site: www.clanhod.com/analyzer.php |
|
|
         |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Thu May 01, 2003 2:05 pm |
  |
|
    |
 |
ryndog
Corporal


Joined: Apr 29, 2003
Posts: 58
Location: USA
|
Posted:
Thu May 01, 2003 2:30 pm |
  |
Raven, I appologize. I know it makes you guys mad when dumb errors are posted.
Here is the links...
Analyzer on old working site: www.ryndog.com/analyze.php
Analyzer on new not working site: www.clanhood.com/analyze.php
HOWEVER:
I finally ran across a post that FIXED my security image. I can see it both for regular user and admin. Here is the fix I used:
http://www.nukeforums.com/forums/viewtopic.php?topic=14550&forum=40&19
STILL AN ISSUE THOUGH:
-Administrator can log in no problems at all.
-Regular users CAN NOT log in at all. They see the security image, put in there info, and are only directed to thier personal profiler page. After attempting to log in they do not see 'Welcome (username)' in the top left corner, nor have registered access. It only takes them to the profile page and thats it.
This is my last issue I beleive. Any help on this Raven or anyone? |
|
|
         |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Thu May 01, 2003 2:39 pm |
  |
It doesn't make us mad, although sometimes it gets frustrating for everyone. You have supplied tons more information that most people do so you get more leniancy . Someone will look at your remaining problems soon - hang in there  |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
ryndog
Corporal


Joined: Apr 29, 2003
Posts: 58
Location: USA
|
Posted:
Thu May 01, 2003 3:17 pm |
  |
More information:
I also have found out, that while logged in as an admin (which works fine), if I try to log in as a regular user it terminates me as being admin and I have to re-logging to have admin status again. |
|
|
         |
 |
Caspian
Nuke Soldier


Joined: Apr 29, 2003
Posts: 32
|
Posted:
Thu May 01, 2003 3:18 pm |
  |
Hi.
Did you try this:
| Quote: |
replace: Header("Location: modules.php
with: Header("Refresh: 0;url=modules.php
in: your_account/index.php (replace in ALL of the "function login" section, where you see "Header")
and it works.
The problem is with the difference betwin Apache and IIS.
|
I just recently installed all this on IIS 5 and there are numerous differences...this one happened to fix the last problem for me.
Thread I had started = http://nukecops.com/postlite2285-.html
 |
|
|
   |
 |
ryndog
Corporal


Joined: Apr 29, 2003
Posts: 58
Location: USA
|
Posted:
Thu May 01, 2003 3:35 pm |
  |
WHOOOO HOOO... IT WORKS.
Well.. at least user login prelimanary test... but it should be fine. Just wanted to post back right away.
Just a few note
-I didn't realize there was more than one line that needed to be changed in the index.php, the are mulitple.... your meaning of
| Quote: |
| (replace in ALL of the "function login" section, where you see "Header") |
-I would like to make some sort of post or file download... or maybe one of you more experienced users might like to. As you read I converted from an apache server to the IIS host and had mulitiple problem including this and the above mentioned GD librady and php stuff that needed to be set and or installed. I like to think of myslef as not a bad troubleshooter, but it just seems like for someone converting over, or even doing a fresh install on IIs it can get confusing, not to mention the issues of 2 different problems between the security login and the user log in block.
So far so good now on the new server. Thank you for pointing me out in the right direction. I couldn't have figured it out with out you all. |
|
|
         |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Thu May 01, 2003 3:43 pm |
  |
AI, I think we definitely need to put this fix as a Sticky don't you? Thanks for figuring this out! I don't have access to an IIS boxes, so I'm always at a loss with the IIS issues when they get so specific. MS chose, in their infinite wisdom to not include IIS with the home edition of XP and I refuse to pay another penny for the professional version! I've seen the nightmare and read the horror stories of those who have tried to hack it in and it ain't worth it!!! |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
Caspian
Nuke Soldier


Joined: Apr 29, 2003
Posts: 32
|
Posted:
Thu May 01, 2003 3:48 pm |
  |
heeh...glad it worked.
I'm 2 weeks new to php and phpNuke...so I'm still a green horn. But, I have several years of IIS experience. And I still didn't know this little trick.
Glad it worked...and yeah... I neglected to say there are 5 changes to make in that particular section...and 1 in each other file... for a total of 7 changes to make it work from Apache to IIS 5.
Toodles! |
|
|
   |
 |
ryndog
Corporal


Joined: Apr 29, 2003
Posts: 58
Location: USA
|
Posted:
Thu May 01, 2003 4:52 pm |
  |
When I get a chance I'll try to make a little specified post on these things or tutorial. |
|
|
         |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Thu May 01, 2003 7:30 pm |
  |
Are you running PHP in CGI mode or using ISAPI? The reason I ask is I came across this:
| Quote: |
This is right off the Microsoft site:
"The Internet Server Application Programming Interface (ISAPI) model was
developed as a higher-performing alternative to the Common Gateway
Interface (CGI). ISAPI provides a number of advantages over CGI,
including low overhead, fast loading, and better scalability."
"The chief difference between the CGI and ISAPI programming models is
the way processing is handled. With CGI, the system creates a unique
process for every request. Each time an HTTP server receives a request,
it initiates a new process. Because the operating system must maintain
all these processes, CGI is resource-intensive. This inherent limitation
makes it difficult to develop responsive Internet applications with
CGI." |
|
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
Caspian
Nuke Soldier


Joined: Apr 29, 2003
Posts: 32
|
Posted:
Thu May 01, 2003 10:50 pm |
  |
|
   |
 |
|
|