Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Installation Issues :: Archives ⇒ Warning: posix_getpwuid() :: Archived


Warning: posix_getpwuid() :: Archived
Post your DragonflyCMS installation questions and problems here.
Note that we have "Switch from X" forums for other CMS/forum conversions.
DO NOT post those or module installation issues here!

Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Installation Issues

Topic Archived View previous topic :: View next topic  
Author Message
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Tue Aug 14, 2007 8:48 am
Post subject: Re: Warning: posix_getpwuid()

yeap thats right, it will not fix your problem but it will give us an idea on why our check its not working.

An easy way would be, restore your original cmsinit.inc, then create a file called df_test.php
and write in it:

PHP:
<?php
error_reporting
(E_ALL);
ini_set('display_errors',1);
echo
'disabled functions are: '. ini_get('disable_functions');
?>

Then go to yoursite.com/df_test.php and let us know the output.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
jiaoxiao
Newbie
Newbie

Offline Offline
Joined: Aug 05, 2007
Posts: 20

PostPosted: Tue Aug 14, 2007 9:35 am
Post subject: Re: Warning: posix_getpwuid()

Well I did as you said. Replaced the cmsinit.inc with the original that I downloaded. And made df_test.php with the code you gave me. I put the .php into public_html, since putting it into /includes only gave me an error page.

I went to /df_test.php and I got:

disabled functions are:

and that was it =\

Lol


jiaoxiao's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Tue Aug 14, 2007 10:31 am
Post subject: Re: Warning: posix_getpwuid()

Then your host is using something else to disable php functions, if your host was using the normal way on doing that you will not run into this problems.

At this point you need to ask support to your hosts.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
jiaoxiao
Newbie
Newbie

Offline Offline
Joined: Aug 05, 2007
Posts: 20

PostPosted: Tue Aug 14, 2007 10:37 am
Post subject: Re: Warning: posix_getpwuid()

haha.

Going around in circles now. Lol. I initially asked them for help, but then they told me to ask you guys =P

Thanks for your help though mate ^.^


jiaoxiao's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Tue Aug 14, 2007 1:29 pm
Post subject: Re: Warning: posix_getpwuid()

jiaoxiao wrote:
they told me to ask you guys =P

That's terrible!
We are not the tech people for their servers, they should fix their issues themselves.

However, i could fix their servers if they pay me 120 euro per hour.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
jiaoxiao
Newbie
Newbie

Offline Offline
Joined: Aug 05, 2007
Posts: 20

PostPosted: Wed Aug 15, 2007 10:51 am
Post subject: Re: Warning: posix_getpwuid()

Lol!!!!

They were saying that there's something wrong with your code because every other CMS was easy to install >.<!

Anyways I told them what happened over here =P

And I've been told to ask:

"Which functions are needed? The only functions disabled on our server are those that pose security risks. Most CMS's install fine on our servers - and so I doubt there's no way around the issue. If you could get a list of which functions are required for DrangonFly CMS we may be able to come to a solution."

So yeah =D Mind helping me? =D Lol (I'm lost now >.<! Lol)


jiaoxiao's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Thu Aug 16, 2007 11:15 am
Post subject: Re: Warning: posix_getpwuid()

posix_getpwuid() is important for proper identification of the server.

It is used to write files to the server with the right permissions.
Problem is, that many hosts setup accounts that are not allowed to read/write files that ore owned by others.

Since PHP mostly runs as the user 'nobody' and not 'yourname', you are unable to see/delete/edit the written files.
Therefore you can't manage:
- 'downloads' module files
- 'coppermine' module files
- 'cache' files

Due to that Dragonfly tries to identify the 'id' of the running process owner and compares that with the file owner.
If this matches then PHP runs as 'yourname' and we don't have to take additional actions.
If it doesn't match (nobody, etc.) we need to take additional actions.

So yeah, it's not our fault that we have to take these additional actions.
It's just the fault of all those terrible server setups and we can't satisfy them all.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
jiaoxiao
Newbie
Newbie

Offline Offline
Joined: Aug 05, 2007
Posts: 20

PostPosted: Sun Aug 19, 2007 12:50 am
Post subject: Re: Warning: posix_getpwuid()

Ahh I see, okay, I'll see if I can get this sorted out with the webhosters now. grr =P ^.^


jiaoxiao's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
jiaoxiao
Newbie
Newbie

Offline Offline
Joined: Aug 05, 2007
Posts: 20

PostPosted: Sun Aug 19, 2007 3:30 am
Post subject: Re: Warning: posix_getpwuid()

Okay, somehow, I was able to install Dragonfly just now. But now if I try to open a page on the site, I just get a blank page. :\ Quite weird yes? =P Any ideas on how to fix that?


jiaoxiao's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
jiaoxiao
Newbie
Newbie

Offline Offline
Joined: Aug 05, 2007
Posts: 20

PostPosted: Sun Aug 19, 2007 5:33 am
Post subject: Re: Warning: posix_getpwuid()

Oh I just saw a sticky about blank pages, and so i tried the test.php thing.

<?php echo "die

gives me


Parse error: syntax error, unexpected $end in /home/pubsters/public_html/test.php on line 1

and

<?php
error_reporting(E_ALL);
require('includes/cmsinit.inc');

gives me a blank.

Also, my error log says (at the bottom):

[18-Aug-2007 22:21:45] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'pubsters'@'localhost' (using password: YES) in /home/pubsters/public_html/includes/db/mysql.php on line 32


btw, thought i'd say, i've already deleted /install and install.php, since that's what the instructions said to do >.<!


jiaoxiao's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sun Aug 19, 2007 10:23 am
Post subject: Re: Warning: posix_getpwuid()

Hmmm you're hosted by ThePlanet.com

We have received loads of hacking attempts from that subnet.
Maybe due to that they locked down everything and therefore it won't run.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
jiaoxiao
Newbie
Newbie

Offline Offline
Joined: Aug 05, 2007
Posts: 20

PostPosted: Sun Aug 19, 2007 1:23 pm
Post subject: Re: Warning: posix_getpwuid()

oh wow how did you figure out i'm hosted by theplanet.com :\ I thought it was x10hosting >.<!


jiaoxiao's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sun Aug 19, 2007 3:20 pm
Post subject: Re: Warning: posix_getpwuid()

http://www.seologs.com/ip-domains.html wrote:
pubsters.com has address 70.86.238.114
Found 162 websites with the IP 70.86.238.114

ws.arin.net/cgi-bin/wh...86.238.114

x10hosting probably hires a dedicated server with them, as you can see on the list of domains from seologs.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
jiaoxiao
Newbie
Newbie

Offline Offline
Joined: Aug 05, 2007
Posts: 20

PostPosted: Tue Aug 21, 2007 9:31 am
Post subject: Re: Warning: posix_getpwuid()

ohhh i see, i'll have to talk to them about it then I guess Smile


jiaoxiao's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Installation Issues
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Läs mer...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy