Can't load my report from server, but empty viewer.fx is OK

Stimulsoft Reports.PHP discussion
Post Reply
primej
Posts: 4
Joined: Mon Feb 21, 2011 5:00 am
Location: Slovenia

Can't load my report from server, but empty viewer.fx is OK

Post by primej »

Hi all,

I have trouble to load my demo report over browser. When I try to load Viewer.fx alone the empty viewer displays ok, but if I use parameter with my report noting happenes. In designer report preview is generated OK with all data fethed from server.

THIS WORKS http://myserver/stimulsoft/index.php?st ... y=ViewerFx
THIS DOES'T WORK http://myserver/stimulsoft/index.php?st ... xample.mrt (empty page). Even SimpleList example doesn't work.

I tought that this is privileges issue but I set all to 777.
Where do I put my own reports, in root of web or in reports subdirectory?
Is there maybe something to setup in php.ini or apache.conf?

I'm using Apache 2.2.12 and PHP 5.2.10.

Thank you
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Can't load my report from server, but empty viewer.fx is OK

Post by Vladimir »

Hello,

In this situation, disabling a warning messages should help in the PHP configuration file:

Code: Select all

error_reporting = E_ALL & ~E_NOTICE
Also please try to download the latest prerelease build, in which the issue with warnings is resolved.

Thank you.
primej
Posts: 4
Joined: Mon Feb 21, 2011 5:00 am
Location: Slovenia

Can't load my report from server, but empty viewer.fx is OK

Post by primej »

Hi Vladimir,

I already have settings of error_reporting = E_ALL & ~E_NOTICE,

and I have the latest version of Stimulsoft Reports.Fx for PHP 2011.02.15 Trial

Stil the sam problem - empty screen.
Tested connection from server to database, try with apache 1 on differen t server, but no luck.

Antything else to try.

Thank you.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Can't load my report from server, but empty viewer.fx is OK

Post by Vladimir »

Hello,
THIS DOES'T WORK http://myserver/stimulsoft/index.php?st ... xample.mrt (empty page). Even SimpleList example doesn't work.
Looking at the URL specified by you, we have found the error. At your variant 'stimulsoft_client_key' parameter is used twice. To specify the report you need to use a 'stimulsoft_report_key' parameter:
Thank you.
primej
Posts: 4
Joined: Mon Feb 21, 2011 5:00 am
Location: Slovenia

Can't load my report from server, but empty viewer.fx is OK

Post by primej »

Vladimir,

Thanks a lot, this is working fine. Finally I can test this great software.

Thanks again

primož



Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Can't load my report from server, but empty viewer.fx is OK

Post by Andrew »

Hello,

Let us know if you have additional questions.

We will be happy to help you.
Thank you.
Post Reply