You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Naimish Bhagat (JIRA)" <ji...@apache.org> on 2008/04/08 01:53:24 UTC
[jira] Created: (SHINDIG-186) Cannot Run PHP Gadget Server
Cannot Run PHP Gadget Server
-----------------------------
Key: SHINDIG-186
URL: https://issues.apache.org/jira/browse/SHINDIG-186
Project: Shindig
Issue Type: Bug
Components: Gadgets Server - PHP
Environment: Windows XP,Apache
Reporter: Naimish Bhagat
Hi Guys
I cant run PHP gadget server, I wasted 3 days on it but still I cant run the server. I am using xmpplite apache-php software. And as per README file of PHP part of shindig I have every thing it require. And I copied whole gadget folder of php part and put it into htdocs(root) folder and set the web_prefix as " ", and also put features,javascript and config folders in to gadget folder as well. And set the feature_path and other two paths as "/features/" , "/config/" ,and "javascript" respectively.
And in the index.php file I think it is not going to the loop of if(servlet) and in that it is not showing any class.
So what changes should I make to run my php gadget server. So please do reply for my query.
Thanks
Naimish
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (SHINDIG-186) Cannot Run PHP Gadget
Server
Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587578#action_12587578 ]
chabotc edited comment on SHINDIG-186 at 4/10/08 3:43 AM:
---------------------------------------------------------------
Hey Naimish.
First let me apologize, the shindig php server is still relatively new and as a result proper documentation is still a bit lacking.
Now without any information about errors you receive, log file entries, configuration etc i can only make an educated guess to what the problem _could_ be, but i could also be completely wrong.
Now the first thing that comes to mind is that the php server depends on a .htaccess file to redirect all the /gadgets/* requests to the index.php file, which then handles the request ... without mod_rewrite, it will never end up in the proper place which would lead to the situation you describe.
The second thing you might run into is that, silly me, i always forget about windows ... and how it has a \ as a directory separator and not a / . So if you do get into the index.php (a simple echo "handling {$_REQUEST['uri']}"; should suffice to test and verify this), but then error out on the fact that it can't find some files or paths .... it might be worth changing the /'s into \'s in the config and quickly scan the source for other path occurances... i think i have left hard coded /'s in config.php, BasicGadgetBlacklist.php, CacheFile.php FilesServlet.php and JsFeatureLoader.php.
Ps, after a quick bit of research it seems that a modern PHP version on windows _should_ handle / directory separators just fine ... so if your running php 5.2.x (which you should really) ignore the last bit about the directory separators :)
The latter problem i'll fix up once my commit account has been created, should be any day now :)
was (Author: chabotc):
Hey Naimish.
First let me apologize, the shindig php server is still relatively new and as a result proper documentation is still a bit lacking.
Now without any information about errors you receive, log file entries, configuration etc i can only make an educated guess to what the problem _could_ be, but i could also be completely wrong.
Now the first thing that comes to mind is that the php server depends on a .htaccess file to redirect all the /gadgets/* requests to the index.php file, which then handles the request ... without mod_rewrite, it will never end up in the proper place which would lead to the situation you describe.
The second thing you might run into is that, silly me, i always forget about windows ... and how it has a \ as a directory separator and not a / . So if you do get into the index.php (a simple echo "handling {$_REQUEST['uri']}"; should suffice to test and verify this), but then error out on the fact that it can't find some files or paths .... it might be worth changing the /'s into \'s in the config and quickly scan the source for other path occurances... i think i have left hard coded /'s in config.php, BasicGadgetBlacklist.php, CacheFile.php FilesServlet.php and JsFeatureLoader.php.
The latter problem i'll fix up once my commit account has been created, should be any day now :)
> Cannot Run PHP Gadget Server
> -----------------------------
>
> Key: SHINDIG-186
> URL: https://issues.apache.org/jira/browse/SHINDIG-186
> Project: Shindig
> Issue Type: Bug
> Components: Gadgets Server - PHP
> Environment: Windows XP,Apache
> Reporter: Naimish Bhagat
>
> Hi Guys
> I cant run PHP gadget server, I wasted 3 days on it but still I cant run the server. I am using xmpplite apache-php software. And as per README file of PHP part of shindig I have every thing it require. And I copied whole gadget folder of php part and put it into htdocs(root) folder and set the web_prefix as " ", and also put features,javascript and config folders in to gadget folder as well. And set the feature_path and other two paths as "/features/" , "/config/" ,and "javascript" respectively.
> And in the index.php file I think it is not going to the loop of if(servlet) and in that it is not showing any class.
> So what changes should I make to run my php gadget server. So please do reply for my query.
> Thanks
> Naimish
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SHINDIG-186) Cannot Run PHP Gadget Server
Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587578#action_12587578 ]
Chris Chabot commented on SHINDIG-186:
--------------------------------------
Hey Naimish.
First let me apologize, the shindig php server is still relatively new and as a result proper documentation is still a bit lacking.
Now without any information about errors you receive, log file entries, configuration etc i can only make an educated guess to what the problem _could_ be, but i could also be completely wrong.
Now the first thing that comes to mind is that the php server depends on a .htaccess file to redirect all the /gadgets/* requests to the index.php file, which then handles the request ... without mod_rewrite, it will never end up in the proper place which would lead to the situation you describe.
The second thing you might run into is that, silly me, i always forget about windows ... and how it has a \ as a directory separator and not a / . So if you do get into the index.php (a simple echo "handling {$_REQUEST['uri']}"; should suffice to test and verify this), but then error out on the fact that it can't find some files or paths .... it might be worth changing the /'s into \'s in the config and quickly scan the source for other path occurances... i think i have left hard coded /'s in config.php, BasicGadgetBlacklist.php, CacheFile.php FilesServlet.php and JsFeatureLoader.php.
The latter problem i'll fix up once my commit account has been created, should be any day now :)
> Cannot Run PHP Gadget Server
> -----------------------------
>
> Key: SHINDIG-186
> URL: https://issues.apache.org/jira/browse/SHINDIG-186
> Project: Shindig
> Issue Type: Bug
> Components: Gadgets Server - PHP
> Environment: Windows XP,Apache
> Reporter: Naimish Bhagat
>
> Hi Guys
> I cant run PHP gadget server, I wasted 3 days on it but still I cant run the server. I am using xmpplite apache-php software. And as per README file of PHP part of shindig I have every thing it require. And I copied whole gadget folder of php part and put it into htdocs(root) folder and set the web_prefix as " ", and also put features,javascript and config folders in to gadget folder as well. And set the feature_path and other two paths as "/features/" , "/config/" ,and "javascript" respectively.
> And in the index.php file I think it is not going to the loop of if(servlet) and in that it is not showing any class.
> So what changes should I make to run my php gadget server. So please do reply for my query.
> Thanks
> Naimish
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SHINDIG-186) Cannot Run PHP Gadget Server
Posted by "Naimish Bhagat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Naimish Bhagat closed SHINDIG-186.
----------------------------------
Thanks
> Cannot Run PHP Gadget Server
> -----------------------------
>
> Key: SHINDIG-186
> URL: https://issues.apache.org/jira/browse/SHINDIG-186
> Project: Shindig
> Issue Type: Bug
> Components: Gadget Rendering Server (PHP)
> Environment: Windows XP,Apache
> Reporter: Naimish Bhagat
> Assignee: Chris Chabot
>
> Hi Guys
> I cant run PHP gadget server, I wasted 3 days on it but still I cant run the server. I am using xmpplite apache-php software. And as per README file of PHP part of shindig I have every thing it require. And I copied whole gadget folder of php part and put it into htdocs(root) folder and set the web_prefix as " ", and also put features,javascript and config folders in to gadget folder as well. And set the feature_path and other two paths as "/features/" , "/config/" ,and "javascript" respectively.
> And in the index.php file I think it is not going to the loop of if(servlet) and in that it is not showing any class.
> So what changes should I make to run my php gadget server. So please do reply for my query.
> Thanks
> Naimish
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SHINDIG-186) Cannot Run PHP Gadget Server
Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Chabot resolved SHINDIG-186.
----------------------------------
Resolution: Incomplete
Assignee: Chris Chabot
Closing due to lack of feedback.
If you still struggle with getting this working, i recently made some documentation that should help you get this running on windows:
http://chabotc.com/guides/shindig_install/
http://chabotc.com/guides/partuza_install/
> Cannot Run PHP Gadget Server
> -----------------------------
>
> Key: SHINDIG-186
> URL: https://issues.apache.org/jira/browse/SHINDIG-186
> Project: Shindig
> Issue Type: Bug
> Components: Gadget Rendering Server (PHP)
> Environment: Windows XP,Apache
> Reporter: Naimish Bhagat
> Assignee: Chris Chabot
>
> Hi Guys
> I cant run PHP gadget server, I wasted 3 days on it but still I cant run the server. I am using xmpplite apache-php software. And as per README file of PHP part of shindig I have every thing it require. And I copied whole gadget folder of php part and put it into htdocs(root) folder and set the web_prefix as " ", and also put features,javascript and config folders in to gadget folder as well. And set the feature_path and other two paths as "/features/" , "/config/" ,and "javascript" respectively.
> And in the index.php file I think it is not going to the loop of if(servlet) and in that it is not showing any class.
> So what changes should I make to run my php gadget server. So please do reply for my query.
> Thanks
> Naimish
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.