hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Running on Windows ??

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur
View previous topic :: View next topic  
Author Message
Woody



Joined: 02 Oct 2003
Posts: 5
Location: Netherlands

PostPosted: Thu Oct 02, 2003 8:47 am    Post subject: Running on Windows ?? Reply with quote

Hi there.
I downloaded Peffisaur, installed it at my windows-based server, but there's a lot that doesn't work Crying or Very sad

Can't register a user, no error messages, no entry's in the database.

Any idea ??
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Thu Oct 02, 2003 10:12 am    Post subject: Reply with quote

No idea...never tried it with Windows.
Noone has ever made MMS Diary work with Windows (I've gotten only error reports from that) so I don't think php there is very compatible I'm afraid.

Would be interested to hear what your experiences are if you get something to work.
Back to top
View user's profile Send private message Visit poster's website
Arnix



Joined: 17 Sep 2003
Posts: 11

PostPosted: Thu Oct 02, 2003 10:55 am    Post subject: Reply with quote

The first time I installed peffisaur on my linux box, I had (almost) the same problems. This had to do with errors regarding the re-write rules in the .htaccess file and httpd.conf.
Back to top
View user's profile Send private message
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Thu Oct 02, 2003 11:34 am    Post subject: Reply with quote

I see. Yes, the rewrite rules in .htaccess assumes you are installing Peffisaur at root-level which is probably only true for my installation and not many other I'm afraid.
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Thu Oct 02, 2003 11:46 am    Post subject: Reply with quote

I have been struggling with that. I edited .htacces to match my own confiuration. But still it didn't work. Until I found out that httpd.conf on my RedHat box has default AllowOverride None..........
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Thu Oct 02, 2003 11:58 am    Post subject: Reply with quote

Yes, you need to allow override
Back to top
View user's profile Send private message Visit poster's website
Woody



Joined: 02 Oct 2003
Posts: 5
Location: Netherlands

PostPosted: Fri Oct 03, 2003 11:54 pm    Post subject: Reply with quote

I'll keep "trying" to get it to work.. Most stuff runs on the windows-system here, so this one should be running to.
Currently i'm busy with other stuff, but I would like to get this running on my site.

I'll keep you informed..
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Sat Oct 04, 2003 10:32 am    Post subject: Reply with quote

You say you cannot register a user. What feedback do you get when trying to register one? None at all? What page is displayed? No welcome message?
Back to top
View user's profile Send private message Visit poster's website
Woody



Joined: 02 Oct 2003
Posts: 5
Location: Netherlands

PostPosted: Sat Oct 04, 2003 9:24 pm    Post subject: Reply with quote

Peffis wrote:
You say you cannot register a user. What feedback do you get when trying to register one? None at all? What page is displayed? No welcome message?

There's no feedback at all Sad
After filling in all the fields, it just returns to the sign-up page.
No error-message and nothing in de database..
I added a user by putting some stuff manualy in the database, but I cannot sign-in with that account Sad

You can try it at http://woertman.org/peff
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Sun Oct 05, 2003 9:41 am    Post subject: Reply with quote

Ok, for others who experience this problem, we have solved it now. It's not windows related. The problem with registering users was that PHP is needed to be configured to register globals for Peffisaur to work (register_globals = On in PHP.ini).

Will try to make Peffisaur not rely on this to be turned on in the future.

There are other issues as well under Windows I think unfortunately.
Back to top
View user's profile Send private message Visit poster's website
Woody



Joined: 02 Oct 2003
Posts: 5
Location: Netherlands

PostPosted: Sun Oct 05, 2003 11:00 pm    Post subject: Reply with quote

I have most of it running now.
Some changes to php.ini:
Code:
register_globals = On

some changes to apaches httpd.conf (remove the # infront of these lines)
Code:
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

and in config.php I changed
Code:
define( "MSG_STORE_DIR",    "./msgstore" );

(extra DOT !!)
in send.php I had to change the following:
Code:
$sender_id = lookupSenderID( $_SERVER['REDIRECT_REDIRECT_uid'],
                   $_SERVER['REDIRECT_REDIRECT_pwd'] );

Basic is running now.
Only thing left is the email-option.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Wed Oct 06, 2004 12:26 am    Post subject: Reply with quote

I have the same problem with registering new users it just does nothing but I can't change php.ini cause I'm not a server admin...
Is there a way to solve the problem without changing php.ini?
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Wed Oct 06, 2004 3:20 pm    Post subject: Reply with quote

Check out this page on how to turn on register_globals on a share hosting service by using .htaccess: http://se.php.net/register_globals
Back to top
View user's profile Send private message Visit poster's website
san



Joined: 26 Jul 2005
Posts: 4

PostPosted: Tue Jul 26, 2005 5:19 pm    Post subject: Reply with quote

hiya,

in regards to the above: if, for some reason, the option of overriding the .htaccess file to accept global vars is not available to you, you can also try the following.
(overriding can be disabled serverside or you may be on a shared server on which PHP runs in CGI mode. for example)

adding the following code at the top of each page in which global vars are used solves your problem. please be aware of possible security issues related to this (the whole idea of disabling global vars since PHP 4.2 is security in the first place!)

Code:

<?php
if(!empty($_GET)) extract($_GET);
if(!empty($_POST)) extract($_POST);
?>


hope this helps,
take care
Back to top
View user's profile Send private message
san



Joined: 26 Jul 2005
Posts: 4

PostPosted: Tue Nov 22, 2005 10:45 pm    Post subject: Reply with quote

in addition to this post of mine earlier.. thats is not the safest way if that's one of your considerations.

since the post above i've taken the effort to rewrite all of the stuff i needed to use GET and POST statements instead, solving the vulnerability to variable injection and stuff. (yes, I do realise this is not a high-risk project or anything, but I could use the practice Razz )
Besides, this way the global_variables are no obstacle anymore.

By the way, running both MMS Diary and Peffisaur runs just as it should on a windows based server, just need a little effort to smooth things out.

Take care,
San
Back to top
View user's profile Send private message
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.    hellkvist.org Forum Index -> Peffisaur All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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