Finding out my absolute path
-
As I am not experienced in this sort of thing I do not know how to find this out
I am on a shared server and I use this path on FileZilla
/public_html/www.phphelp.co.uk/phpbbhowever if I use this in your plugin I get the error page
“Wp w3all miss phpBB configuration file. Please set the correct absolute path to phpBB by logging in on WP admin and by opening:”many thanks
Paul
-
Sorry just finished with 1.0.5 template features!
Hello, you should ask to your host or look on his faq to know what is the correct full path for your domain. The Remote site field on filezilla may not show you the correct path. What’s your host, Godaddy?or create a phpinfo.php file with a text editor that should only contain this code:
<?php phpinfo(); ?>
Save it and upload to your site,
so call it on your browser just like:
http://mysite.phpinfo.phpThere are all the info listed about your server, also the full path.
If further help needed just let know.ops… sorry, the example above is wrong about the file call ๐
you should call on your browser the file, in this way:
http://mysite.com/phpinfo.phpYes it works ๐
There is a lot of stuff in that phpinfo page but I found it !
Thank you very much for your help and good luck with your plugin.
Paul
But there are problems on 1.0.5 i’m still try to fix
Ok all seem to be solved on 1.0.5.
There was a problem on commit for me the config.php of the views folder as
the svn was returning error updating file: this had take me long time to be solved this stupid morning.
So if any problem, please download now the 1.0.5 and install. All should be ok now. There is a need i have to finish, the tutorial to get the result about responsive iframe, as here in the example:
wp_w3all phpBB into WP embedded example
i will try to fix all about within today i hope.I’ve read all post an tried everything i can think of (Iยดm a feew weeks into using wordpress)
i made a phpinfo file as you suggested, i uploaded it to the subdomain with phpbb installed and found my absolute path i think, under php variables (_SERVER[“DOCUMENT_ROOT”] /var/www/vhosts/raunveruleiki.is/spjall.raunveruleiki.is)
should i use the WP site path? i tried exluding /spjall.raunveruleiki.is and many other paths but no luck..
i install the plugin on the Main domain(wp site) and am linking to the phpbb subdomain right?what am i missing here?
it should be a problem with stripslash function. It in case need to be fixed as soon. It is very late in the night here, but please can you open with a text editor the file:
class.wp.w3all-admin.php
and search for this line of code:
$_POST["w3all_conf"]["w3all_path_to_cms"] = stripslashes($_POST["w3all_conf"]["w3all_path_to_cms"]);
please try to change it to:
$_POST["w3all_conf"]["w3all_path_to_cms"] = $_POST["w3all_conf"]["w3all_path_to_cms"];
it should be + or – for sure a problem with this.
let me knowYou had reason, i have take a look now, it was a stupid bug on code that never was executed.
Thank you for the notice.
It has just been fixed releasing 1.0.9The answer to solve your question was open:
class.wp.w3all-admin.php
search for:if ( isset($_POST['w3all_conf']) ){ if (isset( $_POST["w3all_conf"]["w3all_path_to_cms"] ) ){ $_POST["w3all_conf"]["w3all_path_to_cms"] = stripslashes($_POST["w3all_conf"]["w3all_path_to_cms"]); } $w3all_conf = $_POST['w3all_conf']; $data_update = $w3all_conf; }and replace with:
if ( isset($_POST['w3all_conf']) ){ if (isset( $_POST["w3all_conf"]["w3all_path_to_cms"] ) ){ $_POST["w3all_conf"]["w3all_path_to_cms"] = stripslashes($_POST["w3all_conf"]["w3all_path_to_cms"]); } $w3all_conf = $_POST['w3all_conf']; $data_update = $w3all_conf; while (list($option_name, $val) = each($data_update)) { update_option( $option_name, $val ); } }Or just download or update to 1.0.9!
sorry, went to sleep just after i wrote that and now just got off work and testing now.
doesn’t seem to work or i’m doing something wrong
This is the path i use (/var/www/vhosts/raunveruleiki.is/spjall.raunveruleiki.is) and the url (http://spjall.raunveruleiki.is) tried adding /phpbb without luck
WP Site (raunveruleiki.is)Thanks
No, thank to you i’ve discover a bug that was not allowing to update values! Now should work, on 1.0.9 it has been fixed.
What’s your hosting provider?
Have you download 1.0.9 and test now to set path?ps as i see your phpbb forum is on root on a subdomain so your absolute path based on what you report above should be:
/var/www/vhosts/raunveruleiki.is/spjall.raunveruleiki.isbut before update to 1.0.9 wp_w3all!
so you’ll put wordpress on a subdomain i imagine
ah no beautiful, wp is at
raunveruleiki.is, now i see.not working i updated to 1.0.9. before posting my last post, yes wp is the domain and phpbb is on subdomain.
hostin provider is vefhysing.is, icelandic hosting service.
tried and not working.the path is set now however when you set it, this should be. Isn’t it?
Can you load a phpinfo.php file so on your phpbb root folder, so in spjall.raunveruleiki.isthe file should contain only this:
<?php phpinfo(); ?>the path is correct, is
`/var/www/vhosts/raunveruleiki.is/spjall.raunveruleiki.is’
when you set the path value on wp_w3all, it appear to be set but return error?
The topic ‘Finding out my absolute path’ is closed to new replies.