SemanticScuttle v0.98.5 used
From "http://www.mylinks.mydomain.fr/populartags.php" page When I select a tag from the tag cloud, I don't get any links!
The http request "http://www.mylinks.mydomain.fr/tags.php/selectedtag" don't return any results.
My folder organisation is the following:
www/ mydomain mylinks <- semantic scuttle data src ... www
I have set the root variable as null:
$root = null;
What I am doing wrong. Thanks for your help
Does /tags.php give results?
No. No results. I stay on the same page.
What means "no results"? A semanticscuttle page with a "no results" message? Or an error page from your web server?
From the page http://www.mylinks.wangba.fr/populartags.php select a tag and see the results. For instance select "vélo" (bike). You stay on the populartag.php page.
the domain http://www.mylinks.wangba.fr is defined as www.wangba.fr/mylinks folder with url rewriting.
Hello bruno,
From the page http://www.mylinks.wangba.fr/populartags.php select a tag and see the results. For instance select "vélo" (bike). You stay on the populartag.php page. the domain http://www.mylinks.wangba.fr is defined as www.wangba.fr/mylinks folder with url rewriting.
Ok, it seems that semanticscuttle does not get the URL parameters (everything after the "....php/").
Are you running PHP on apache? Or is that an IIS? If it is an IIS, please put a file "phpinfo.php" online with the contents
and tell me the URL.
-- Regards/Mit freundlichen Grüßen Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Thanks for your support.
You can run http://www.mylinks.wangba.fr/phpinfo.php
hereafter is the content of the url rewriting (.htaccess from the www folder)
<IfModule mod_rewrite.c=""> Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^([^/.]+)/?(.*)$ /$1.php/$2 [QSA,L] RewriteRule ^api/([a-z]+)/([a-z]+) /api/$1_$2.php </IfModule>
The problem is that PATH_INFO is not filled as it is in Apache. There is ORIG_PATH_INFO, though. I need to add this to semanticscuttle.
In the meantime, add the following at the end of src/SemanticScuttle/constants.php:
if (!isset($_SERVER['PATH_INFO'])) { $_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO']; }
-= Geeking around in the name of science since 1982 =-
I added the following lines at the end of src/SemanticScuttle/constants.php:
if (!isset($_SERVER['PATH_INFO'])) { $_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO']; } $f=fopen('test.txt','a+');fwrite($f,"path_info=".$_SERVER['PATH_INFO']."\n\n");
And after the displaying of the main page the text.txt file content is:
path_info=/index.php
path_info=/jsScuttle.php
But now when I select popularTags I get "User with username populartags.php was not found"
What I am doing wrong ?
But now when I select popularTags I get "User with username populartags.php was not found" What I am doing wrong ?
Nothing :)
http://www.mylinks.wangba.fr/populartags.php/ works (slash at the end). What also now works is
http://www.mylinks.wangba.fr/bookmarks.php/brunaud and http://www.mylinks.wangba.fr/bookmarks.php/brunaud/association%20vélo - they did not work before.
So we're on the right way.
What apache version do you have? Which hosting provider? Don't say it's 1&1 :)
Please also create a file dummy.php with the following in it:
With that, I'm able to adjust the SemanticScuttle code so your server is supported properly.
Yes, it's 1&1 - mutualized server under linux (debian). How can I get the release of apache ?
I have created a dummy.php file inside www. see http://www.mylinks.wangba.fr/dummy.php What should be the content ?
Yes, it's 1&1 - mutualized server under linux (debian). How can I get the release of apache ? No idea; I thought you knew/are admin. I have created a dummy.php file inside www. see http://www.mylinks.wangba.fr/dummy.php What should be the content ?
Yes, it's 1&1 - mutualized server under linux (debian). How can I get the release of apache ? No idea; I thought you knew/are admin.
So how can i get a correct url ( http://www.mylinks.wangba.fr/populartags.php/ ) with a slash at end, to get the popular tags ?
What is the next step to get a correct behaviour ?
Thanks in advance for your answers
Sorry, the forum software filtered out the code.
Please write in dummy.php:
<?php phpinfo(); ?>
Done. You can get the php info with http://www.mylinks.wangba.fr/dummy.php
Thanks
Could you please change that to
<?php var_export($_SERVER); ?>
?
Done.
Ok, I found the issue and reported it at https://sourceforge.net/p/semanticscuttle/bugs/161/
I've also fixed it. Try to download the fixed files and put them on your server:
Use the "download this file" link on the pages. Please tell me if the updated files make it work for you.
Yes it is working. Thanks a lot for your support. Seems to be the solution for the 1&1 shared servers.
Log in to post a comment.
SemanticScuttle v0.98.5 used
From "http://www.mylinks.mydomain.fr/populartags.php" page When I select a tag from the tag cloud, I don't get any links!
The http request "http://www.mylinks.mydomain.fr/tags.php/selectedtag" don't return any results.
My folder organisation is the following:
www/
mydomain
mylinks <- semantic scuttle
data
src
...
www
I have set the root variable as null:
$root = null;
What I am doing wrong.
Thanks for your help
Does /tags.php give results?
No. No results. I stay on the same page.
What means "no results"? A semanticscuttle page with a "no results" message? Or an error page from your web server?
From the page http://www.mylinks.wangba.fr/populartags.php select a tag and see the results. For instance select "vélo" (bike). You stay on the populartag.php page.
the domain http://www.mylinks.wangba.fr is defined as www.wangba.fr/mylinks folder with url rewriting.
Hello bruno,
Ok, it seems that semanticscuttle does not get the URL parameters
(everything after the "....php/").
Are you running PHP on apache? Or is that an IIS? If it is an IIS,
please put a file "phpinfo.php" online with the contents
and tell me the URL.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Thanks for your support.
You can run http://www.mylinks.wangba.fr/phpinfo.php
hereafter is the content of the url rewriting (.htaccess from the www folder)
<IfModule mod_rewrite.c="">
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([^/.]+)/?(.*)$ /$1.php/$2 [QSA,L]
RewriteRule ^api/([a-z]+)/([a-z]+) /api/$1_$2.php
</IfModule>
Last edit: bdvllrd 2013-08-13
Hello bruno,
The problem is that PATH_INFO is not filled as it is in Apache.
There is ORIG_PATH_INFO, though. I need to add this to semanticscuttle.
In the meantime, add the following at the end of
src/SemanticScuttle/constants.php:
if (!isset($_SERVER['PATH_INFO'])) {
$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
}
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
I added the following lines at the end of src/SemanticScuttle/constants.php:
if (!isset($_SERVER['PATH_INFO'])) {
$_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
}
$f=fopen('test.txt','a+');fwrite($f,"path_info=".$_SERVER['PATH_INFO']."\n\n");
And after the displaying of the main page the text.txt file content is:
path_info=/index.php
path_info=/jsScuttle.php
But now when I select popularTags I get "User with username populartags.php was not found"
What I am doing wrong ?
Hello bruno,
Nothing :)
http://www.mylinks.wangba.fr/populartags.php/ works (slash at the end).
What also now works is
So we're on the right way.
What apache version do you have? Which hosting provider? Don't say it's
1&1 :)
Please also create a file dummy.php with the following in it:
With that, I'm able to adjust the SemanticScuttle code so your server
is supported properly.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Yes, it's 1&1 - mutualized server under linux (debian).
How can I get the release of apache ?
I have created a dummy.php file inside www. see http://www.mylinks.wangba.fr/dummy.php
What should be the content ?
Hello bruno,
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
So how can i get a correct url ( http://www.mylinks.wangba.fr/populartags.php/ ) with a slash at end, to get the popular tags ?
What is the next step to get a correct behaviour ?
Thanks in advance for your answers
Sorry, the forum software filtered out the code.
Please write in dummy.php:
Done. You can get the php info with http://www.mylinks.wangba.fr/dummy.php
Thanks
Could you please change that to
?
Done.
Ok, I found the issue and reported it at https://sourceforge.net/p/semanticscuttle/bugs/161/
I've also fixed it. Try to download the fixed files and put them on your server:
Use the "download this file" link on the pages. Please tell me if the updated files make it work for you.
Yes it is working. Thanks a lot for your support. Seems to be the solution for the 1&1 shared servers.