Home arrow Forum Absolute Path problem [Solved]
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 03:16:25 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Absolute Path problem [Solved]
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Absolute Path problem [Solved]  (Read 4675 times)
Perry
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 3


View Profile
Absolute Path problem [Solved]
« on: February 03, 2006, 03:23:16 PM »

I did a search here and found 1000 other folks having the same old problem with SMF Absolute path problem - I took everyone’s advice and of course it doesn't work.

Can anyone help me?

Installed Joomla under www.XYY.com/joomla
Installed SMF under www.XYZ.com/smf

Both work fine by themselves.  (Used same sql database)

Did the bridge and am stuck at the Joomla-SMF Forum Configuration screen

The suggested Absolute Path is: /www/p/johnsmith/htdocs/joomla//<SMF path here>

I have tried every possible combination I can think of and nothing gets rid of the "(incorrect path)"

Here are but a few out of 100:
/www/p/johnsmith/htdocs/smf
/www/p/johnsmith/htdocs/smf/
/www/p/johnsmith/htdocs/smf//

http://XYZ.com/smf
http://XYZ.com/smf/

The Permission Settings are all writeable.

The Joomla main path is /www/p/johnsmith/htdocs/joomla/

I give up.  Can anyone offer a suggestion?

Do I need to monkey with .htaccess to get this going?

Thanks in advance for any help.  Huh

*** I found the answer in my last post of this thread ***
« Last Edit: February 04, 2006, 02:58:23 PM by Perry » Logged
Steve
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 3


View Profile
Re: Same old Absolute Path problem for the 1000 time
« Reply #1 on: February 03, 2006, 04:58:34 PM »

Hey Perry,

I've had the same problem as you. We are both noobs that's all. I'm a techie myself and I've been a total user..... der.

Basically all we have to do is read the instructions like the idiots we are (no offence meant)
Any way, The install is an INTEGRATION tool (I finally realised after it hot me in the head) Therefore........... we MUST have the standalone SMF forum installed BEFORE we install the component. The configuration screen is asking for the ABSOLUTE path of the already installed SMF forum. I unzipped it to the root of my joomla folder, opened the install.php file in the smf in my browser and up came the SMF install script. I then told it to install into my joomla database, using smf_ as a prefix.

Hey presto it installed.

I then went into joomla and installed the component. The abosulute SMF path was then readable.

Amazing once I sat there (ok for 3 hours, and many beers)

Admins.......

I've seen a thread that mentions this install procedure. Maybe you need to treat us all like our parents, utterly st$p$d  Smiley. I think the confusion is that some people look at the zip files and think the com_smf.....zip is what you need (well i did) They then spend the next 3 years (it honestly fealt like that) trying to get it to work.

Anyway, off now to solve another problem, 'constant WIRELESS' error

Akky
Logged
Steve
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 3


View Profile
Re: Same old Absolute Path problem for the 1000 time
« Reply #2 on: February 03, 2006, 06:00:14 PM »

OK, so you  weren't as dumb as me then.....

I'm still in dev mode on a WIN2K3 machine running XAMPP, all rights are fine on my machine, so I suppose once I upload to my host, the problems will begin again...... ahhhhhhhh

Goodluck in your quest.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Same old Absolute Path problem for the 1000 time
« Reply #3 on: February 03, 2006, 06:09:11 PM »

Steve,

Thanks for the reply.

I did install Joomla and the SMF in their own subdirectories and both work independently of each other yet use the same mysql database; which was defined when Joomla was installed and the same database used when SMF was installed.

In desperation I deleted both and installed Joomla and then in a subdirectory under Joomla SMF and I still get the same problem.

The problem comes in with the confusion of the definition of “Absolute Path”.  This is a typical problem with phpNuke and others – everyone has their own definition of “Absolute Path” apparently.

Anyway I’m still stuck at the same place.

Then other php oriented programs get into “Relative Path” which makes “Absolute Path” look like child’s play.

When I try the "click to patch" to patch the SMF Indes.php I get the following error:

Failed: /index.php file or the parent path is not writeable!

I've went in, by hand, and changed EVERY file in joomla/smf to 777 and the same error occurs.  Hence my questioning of .htaccess to allow for something else.




file perms are only accesible if the directory perms are correct.  Note that in linux directory perms supercede any file perms.  What are the perms of the directory? 
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Perry
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 3


View Profile
Absolute Path problem [Solved]
« Reply #4 on: February 04, 2006, 07:22:23 AM »

I found the answer!!!!

My browser's screen focuses on the "SMF Absolute Path:" and I never saw the Save Icon at the top of the page!  This is what caused my problems.

The line "Forum URL" had the red warning "Save" but I ignored it since there was no "save" button I could see.

Same with the SMF Absolute Path - I made changes and never saw the "Save" icon at the top of the page out of sight.

When I supplied the correct Absolute Path and clicked the "Save" icon all worked fine.

Sorry for the time I took and perhaps this problem has occurred with many others - its our first time using Joomla and not used to the "Save" icon at the top of the page out of sight.

Case closed, thanks for the help.
« Last Edit: February 04, 2006, 02:58:44 PM by Perry » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Same old Absolute Path problem for the 1000 time
« Reply #5 on: February 04, 2006, 12:56:11 PM »

newbies!   Tongue

Glad you found the answer Perry!   Grin
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: Same old Absolute Path problem for the 1000 time
« Reply #6 on: February 04, 2006, 01:48:15 PM »

As a policy, we should edit these topic to add "FIXED:" or "SOLVED:" to the topic so that others with the problem can more easily find them or move them to a 'SOLUTIONS FOUND' sub forum?
Logged
Steve
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 3


View Profile
Re: Absolute Path problem [Solved]
« Reply #7 on: February 04, 2006, 03:17:00 PM »

Well done, it's always the easy ones.
Logged
arshia
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Absolute Path problem [Solved]
« Reply #8 on: May 29, 2008, 05:57:54 PM »

Well done, it's always the easy ones.

I have a problem in inistallation.
error: incorrect path

i just install the component
i dont know what is the path?
i read the user guide but i gain nothing.
i would be happy if any one can help
Logged
locutus
Joomla Expert
****

Karma: +26/-48
Offline Offline

Posts: 249


View Profile
Re: Absolute Path problem [Solved]
« Reply #9 on: June 02, 2008, 08:21:18 AM »

FTP to your SMF forum folder. Create a file called "path.php". In this file paste the following code:

Code:
<?php
echo $_SERVER['DOCUMENT_ROOT'];
?>

In your browser surf to the file path.php (example: http://www.mydomain.com/forum/path.php) Now you will see the path to your forum. Good luck.
Logged

ForceRegIsGay
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Absolute Path problem [Solved]
« Reply #10 on: June 20, 2008, 04:53:17 PM »

FTP to your SMF forum folder. Create a file called "path.php". In this file paste the following code:

Code:
<?php
echo $_SERVER['DOCUMENT_ROOT'];
?>

In your browser surf to the file path.php (example: http://www.mydomain.com/forum/path.php) Now you will see the path to your forum. Good luck.

That's not correct.
is the Path of the server, not the absolute path of forum.
Logged
locutus
Joomla Expert
****

Karma: +26/-48
Offline Offline

Posts: 249


View Profile
Re: Absolute Path problem [Solved]
« Reply #11 on: June 23, 2008, 02:19:37 AM »

This is better: Grin
Code:
<?php
header
("Content-type: text/plain");
echo 
"My server runs: ".PHP_OS ', PHP ' PHP_VERSION ."\n";
echo 
"The absolute path to this file is: ".dirname(__FILE__) . "\n";;
echo 
"The relative path to this file is: http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']);
?>
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login