1
rakesh
Re: cant c login part of index.php page after installation
  • 2004/4/17 13:12

  • rakesh

  • Just popping in

  • Posts: 5

  • Since: 2004/4/5 1



hi there,

i asked my host abt their configuration of php.ini file
the value for OPEN_BASEDIR is "." and this is nothing but hell out there, u can understand this. they are using win2k3 server with apache webserver
if u know n e alternative to this plz tell me,

problem with them is they are not creating users, only one user is there and rest are direcotories under that user name. so n e user can access other users directory and thats why they have put this restriction, if each script would had been running under different username and space there would had been no problem but here all the scripts are running under one name, so they cant do n e thing,

i suggested them to put value for this OPEN_BASEDIR as "/physical/path/to/user1/,/pyhiscal/path/to/user2/" and so on, i.e. listing users home directories seperated by "," as value, but they say that it wont work there.

well i also havent tested this thing, so even i am not sure if this works, but i guess this may work.

do u know solution to this problem, of any other idea to play with open directory restriction???
plz let me know i will pass it to them.

regards,
rakesh



2
rakesh
Re: cant c login part of index.php page after installation
  • 2004/4/8 21:12

  • rakesh

  • Just popping in

  • Posts: 5

  • Since: 2004/4/5 1


hi there,
thx for ur kind wishes, truyly even i dont know how long i will be able to work with such restriction, n e way i would like to ask u, if u know some par solution to this basedir restriction. so that i can suggest this to my hosting service provider and may be it will help, i m not finding n e such thing still.

well i m still fighting

regards,
rakesh



3
rakesh
Re: cant c login part of index.php page after installation
  • 2004/4/7 8:42

  • rakesh

  • Just popping in

  • Posts: 5

  • Since: 2004/4/5 1


hi

ya its true its very hard for me to make XOOPS working there, itshttp://quickfox.org, visit them if u like,

but some how i have installed it successfully
but now there are new problems poping up all around
i have modifiled makedata.php in / and it installed perfectly, i can login to admin.php and user.php
but now it is modules/system/admin.php creating problems as it includeds ../../mainfile.php.

well i have modified this place as well but it will require tremandous amount of hard for me to go on

let c how long i handle this situation, or say let us see when i give up

regards,
rakesh



4
rakesh
Re: cant c login part of index.php page after installation
  • 2004/4/6 1:10

  • rakesh

  • Just popping in

  • Posts: 5

  • Since: 2004/4/5 1


daigoro,

no this does not work, the restirction on my host is not abt root directory, its abt refering to parent directory, in fact....

http://my-site/first/second/third/temp.php

script can not refere to....

http://my-site/first/this.php

or....

http://my-site/first/second/this.php

even using relative path i.e.

../../this.php and ../this.php dont work

so one thing that is for sure is that i can not refere to files resideing in parnet derictory, and that is what i m informed by my host. ya if u have some way to override this basedir restiction, of that will help me

thx for ur reply, waiting for another reply.

rakesh



5
rakesh
cant c login part of index.php page after installation
  • 2004/4/5 12:48

  • rakesh

  • Just popping in

  • Posts: 5

  • Since: 2004/4/5 1


hi there,

i have finally successfully installed xoops.
well all is a story i guess i need to explain it in detail so developers can guied me.

on my local computer, everything seems perfect, no problem at all.

so, i started installing on my website, i.e. on remote host, and problems started poping up one by one, however i have tried my best but, now i m stuck....

firstly i had problem saying that could not write into mainfile.php, at 3rd or 4th step of installtion, i checked file permission everything was ok. still the problem persist. then i scaned through the index.php file in install/ directory, i found that mainfile.php and other derectories were refered there using "../", well this is not allowed on the server where i m hosting my website as they have some basedirectory restriction, in this index.php at 40 placeses this "../" is used. and i changed all to "./"

well, i thought to play with source code and directory stucture, i put all the files in install/ derectory as it is but in parent direcotroy of install, and install was empy, i moved all language, sql, class etc all the folders to perent directory that is now root directory, renamed the root's index.php file to index_main.php and copied index.php of install to root.

after doing this i tried to install but again the same error, so i again scaned sourcecode and found that on file in class directory was at two places refering to ../mainfile.php and ../mainfile.dist.php, again i modified ../ to ./

now this time everything was perfect, i got everything istalled correctly and was greeted with end screen of installtion.

i renamed index.php to index_install.php and index_main.php to index.php

i tried to check the url, well it worked but only header and footer, no login screen. tried user.php but again only header and footer, tried admin.php message came that not authorized, fine i came to this fourm and found couple of hints, one was to on the debug mode by modifing include/common.php file, i did that, and one hint was to edit database and in xoops_config modifing debug_mode to 1.
everything is done.

still the same problem with my index.php and admin.php but some change came to my user.php file

well still only header and footer but this error code is added in the end:

Warning [Xoops]: Smarty error: unable to read template resource: "db:system_userform.html" in file d:\area\users.quickfox.org\~\myfamily\class\smarty\Smarty.class.php line 1042


now i dont know where do i go from here, can the expert developers sitting out there help me, c my basic problem was with basedirectory restriction, may be it is still createing problems for me, plz suggest modifications that i m required to do in order to make everything working.

well i guess it was bit long nartion of my problem, sorry that i made u read this much, but i guess i will help u in analying the exact prob,

n e way waiting for reply




TopTop



Login

Who's Online

165 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits