3.0.4

Is Linux, Apache & php not a compatible environment for ActiveWidgets?

Hi!
I am Mehak, trying to use activewidgets in one of my web page.
We are running apache server on linux Fedora machine and trying to integrate HTML, PHP, APACHE in this Linux environment, so tell me how to resolve this error.

I have copied the runtime directory in /usr/local/apache directory
&&
have checked the linked path to "grid.js" && "grid.css".

Still cannot resolve the problem.

Is is due to the environment it is being used in or some other problem.

I want to display a table data in Active Widgets, if my environment is a problem pls suggest an alternate to ActiveWidgets because changing the server or Internet Server is difficult, as we are a team.
Thank You
Mehak Parmani
Web Developer
Venturia
Mehak Parmani
July 20,
ActiveWidgets uses Javascript which works on the Clientside, so the Server Environment should not be the issue. Maybe you set the wrong links for the Javascript.

Wich error do you get when you try to use ActiveWidgets?
Josef Stich
July 20,
I am running exactly the same set up and have no problem using ActiveWidgets so I think you must have the path wrong somewhere - could you provide more details?
S
July 20,
1)
The code snippet given below is the entry in the basic.php file, which I have copied into the /usr/local/apache/htdocs directory along with the activewidgets.php file.
2)
I have also copied the runtime directory in the /usr/local/apache directory as written in the installation process.
3)
I have restarted Apache so as to get the updations done forcibly.


<!-- ActiveWidgets stylesheet and scripts -->
<link href="/usr/local/apache/runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" ></link>
<script src="/usr/local/apache/runtime/lib/grid.js"></script>
<!-- ActiveWidgets PHP functions -->


The error is the most common one that is :
'Active is undefined'

Pls help me find some way out, as I want to use ActiveWidgets for its excellent features.

Thank You
Mehak Parmani
July 22,

I doubt if this path is fine:
<!-- ActiveWidgets stylesheet and scripts -->
<link href="/usr/local/apache/runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" ></link>

May be this xp folder containing the grid.css is not what I need with Linux Operating system, php using Apache server.

Nyways the ActiveWidgets run well on my xp machine, I have tested it but our development goes on Linux, so still I need to use on Linux Platform.

If possible could I get some other tar file instead of the usual zip file.

Thank You
Mehak Parmani
Mehak Parmani
July 22,
Hi Mehak,
You need to make sure that the path for the link is relative to whatever DocumentRoot is set to in /etc/httpd/conf/httpd.conf.
For example, my DocumentRoot is set to /share/intranet. The ActiveWidgets files are then in a directory called activegrid ( /share/intranet/activegrid ). So my links are

<link href="activegrid/runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" />
<script src="activegrid/runtime/lib/grid.js"></script>

You needn't worry about the xp folder as this is just a definition of how the widgets will look, also the usual zip file will be fine - I use xp style and the usual zip download file and it works fine and I'm also running Fedora core with php and apache.

Hope this helps
S
July 22,
Hi,

I am using PHP-MySQL,Activewidgets. with Apache server in windows.

I have 11 column in my MySql table. i want to concatenate 2 to 11 column and put the value in 1st column for that i have written following code in javascript

// Concatenate columns and put values in column 0

function Con(column,row)
{

return String((this.getCellValue(1,row)) + (this.getCellValue(2,row)) + (this.getCellValue(3,row)) + (this.getCellValue(4,row)) + (this.getCellValue(5,row)) + (this.getCellValue(6,row)) + (this.getCellValue(7,row)) + (this.getCellValue(8,row)) + (this.getCellValue(9,row)) + (this.getCellValue(10,row)));
}
obj.setCellData(Con,0);

This function doesn't work in PHP but if tried this function in Asp.Net it is working fine. (Asp.Net - IIS server)

Please help me.
Harsh
September 14,

This topic is archived.

See also:


Back to support forum