[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Odd happenings in proven PHP script after latest updates / pre site resolved access
- Subject: [cobalt-users] Odd happenings in proven PHP script after latest updates / pre site resolved access
- From: "Phil Beynon" <Infolink@xxxxxxxxxxxxxxx>
- Date: Wed Oct 16 12:15:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi all,
I've looked in the archives and Google and cannot find the answer to the
following problem, so I'm hoping there may be someone who has encountered
this before and knows the answer!
I'm using the hosts file in windows to gain access to a site that has not
currently resolved. This is a virtual site on a Raq4i, the box is absolutely
up to date with patches etc except the Cobalt PHP upgrade as I have the
Pkgmaster.com one installed.
I'm a running PHP and MySQL script which manages a "user content managed"
website, I have this script running on 3 other sites and it works perfectly
on those, no errors being reported whatsoever. All the permissions on the
new site are identical and the site is setup exactly as the others.
The first issue is the login script - this runs fine if it is in the site
root (/web) directory - put it in a subdirectory and it accepts the username
and password but does not go to next part where it asks what area the user
wants to manage on the site. No errors are generated, it just does not work.
If it detects a wrong password / username it responds correctly though.
On the main part of the program it fails to unlink files correctly, the
tempnam function does not seem to operate correctly and also it has problems
copying between image information variables e.g. $imgfile_name - (normally
in an if statement) especially when an image upload is involved.
PHP is enabled on the site (and must be running for it to get as far as it
is), permissions are correct (actually 777 right now) on files and
directories.
The only thing that is different is that either; since this site was set up
after running in the latest 6 or so patches something has altered in the way
the box works (the other sites were pre patching) or it is something to do
with accessing via the windows hosts file.
I can't see why a DNS issue should screw things up in what PHP is doing!
Does anyone have any clues or directions they can point me in please - I've
been messing with this for 2 days now!
Regards,
Phil
** http://www.diygear.com THE Online DIY Toolstore For DIY & Business
** Infolink Electronic Systems Ltd. http://www.infolinkelectronics.co.uk
** Professional Web Design & Cobalt Hosting Solutions
** Sun Cobalt iForce Reseller - Canon Silver Reseller
** Contact: Sales@xxxxxxxxxxxxxxxxxxxxxxxxx or 0121 458 4894 (office) 0121
441 3558 (home)