Absolute path problem

Started by dannjr, February 24, 2005, 02:00:14 PM

Previous topic - Next topic

dannjr

Im having a problem with the path that smf installs to and on the server we're on the absolute has to be used or at least thats what its been in the past and hasnt changed.. I did do a search topic maybe I missed something

heres a excample
if the servers path is home/myserver/www/
smf detects the path as home/www/myserver/

Iv changed that in the Settings.php but when I goto the Admin area in smf it wont allow it to change or even read it that..
Iv tryed using the "fix_owner.php" and that reads it as "home/myserver" even when I put in the correct path it still changes it..

So my question is where can it be hacked to set the Absolute path of the server.
The host is more than freindly to help as well but I dont think there gonna make a major change on the server.. Im on several of there servers and its been this way forever. With Yabbse I was able to get it to take but always had to do mods off line.
When I run smf on my dedicated Windows server its fine..
The above problem is a "Linux server" with 200 domains
PHP Version 4.3.10
the mod is tinyportal
but this will end up giving nothing but problems with skins as well
I have tryed differant path arguments to install I even chmod of the primary folder and all sub folders and files to 777 till its worked out
this is also a test board with a test db.. Once this is figured out then I can start converting "boards"

Thanks

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

dannjr

repair_settings.php worked fine for the forum itself.. Thankyou
But and theres always a but  ???

If I set the absolute path and now I goto put in a mod AND I will adress this to tportal as well I end up with this

Table 'buggysgarden.tportal_settings' doesn't exist
File: /home/www/dslnuts/gardenbuggy/Sources/TPortal.php
Line: 40

if this was a true error message for a bad table then the path would be right but the path aint right or am I missin sumtin

path showing /home/www/dslnuts/gardenbuggy/Sources/TPortal.php
it should be /home/dslnuts/www/gardenbuggy/Sources/TPortal.php

url = hxxp:www.dslnuts.com/gardenbuggy/index.php [nonactive]

url to phpinfo hxxp:www.dslnuts.com/phpinfo.php [nonactive]

Again the only reason I bring this up is that mods will be a pain in the future for someone that dont code and I'm just starting to code and that aint sayin much  ;D
Iv never really had a problem with yabbse.. Been using yabb since the first cgi script on this same host

bloc

The TinyPortal mod use the Settings.php file from your SMF installation..so if thats wrong the mod will be wrong too. As the forum.

But why the forum reads the path wrong - or interprets it wrong I don't know.

[Unknown]

That's just PHP giving that filename.  Is it possible there's a symlink happening or something?

-[Unknown]

Advertisement: