PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 2nd, 2000, 01:46 AM
sav666 sav666 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 1 sav666 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi!

Here is my problem :
I install PHPLIB + PHPSlash (phplib.netuse.de) on my local computer: Win2000, Apache 1.3.6, PHP 3.0.4, MySQL3.21.29-gamma,
and all work fine. Its mean that I can run index.php3 from PHPlib, session writes to database, and admin works fine in PHPSlash.


When I install PHPlib and PHPSlash on my hoster company computer : FreeBSD 3.3-STABLE FreeBSD, Apache Version: Apache/1.3.9, MySQL 3.22.32 , PHP Version 3.0.12,
(you can see http://atlantida.agava.ru/t.php3 phpinfo)

PHPLib doesnt work! When I run index.php3 (from PHPlib) its not write Example Session to Database, and I get 404 error in my browser.
Admin in PHPSlash works only when I enter my passoword and login. I see Story List, but when I want to change something (like post new, or subbit sumission), I again recieve login prompt.
Session Slash writes to Database.

When I install my PHPslash I include in admin files
$PHP_SELF="http://myservers.ru/admin.php3"
becouse the forms in admin.php3 files needs $PHP_SELF
(on my local computer I dont need this, and I dont know why I must post this on my online configuration)
If I didnt inclide this, I cant login in admin.


My session.inc is standart for PHPlib.

I think, that problem is here
---session.inc
function self_url() {
global $PHP_SELF, $QUERY_STRING;

return $this->url($PHP_SELF.
((isset($QUERY_STRING) && ("" != $QUERY_STRING)) ? "?".$QUERY_STRING : ""));
}
---session.inc

When I change this funtion to
function self_url() {
global $PHP_SELF, $QUERY_STRING;

return $this->url("/".
((isset($QUERY_STRING) && ("" != $QUERY_STRING)) ? "?".$QUERY_STRING : ""));
}

And run http://myserver.ru/phplib/index.php3 (default index.php3 for phplib)
I get something like this http://myserver.ru/?Example_session=3243dfgsffdg in my brouser
but it not writes to database.

Here is my big problem. Please, help me if you can!
What I must change and try to PHPlib do work ?


Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > PHPlib install problems (with PHPSlash and alone)

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap