ttamturk
-
Posts
234 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Events
Posts posted by ttamturk
-
-
I told you it's not XE4, It's XE7 which i have problem with.
If you have time you can connect to my computer.
After running same dll, Image source on my browser;
<img width="337" vspace="0" hspace="0" height="201" src="/edm.dll/ext-4.2.2.1144/resources/themes/images/gray/tree/s.gif">
-
Hi,
Jpeg is not working too. I try to change DefaultImageFormat and GlobalImageCache property but it seems they are not related with this problem.
By the way i am using XE7 with UPD 1 but it's not working before i update to UPD 1 so XE7 will be enough i guess.
-
I generally test on XE4.
I will test yours and report back. BTW, you can try to see if it is related to PNG only, or it happens with other formats such as JPG too.
Ok, I disable Devexpress but problem is still occurs.
I will test other formats too, ok.
-
Sure
Hmm, if you have XE7 installed and you couldn't create same problem maybe it's related to something else, because as you see i don't do anything specific. But, let's try if there is something wrong. I attached a project from my system. If you can try this on a web server and it shows logo then there is something about my system.
PS: I am using DevExpress too, maybe it's related to it's Cross-Platform Icon library plug-in. I'll check.
-
Of course, if you provide us a test case which can demonstrate the bug your report will be moved to bug reports or even fixed immediately.
There is no general report about this behavior and I can not reproduce your issue with steps you provided above.
Please send a simple test case.
Do you have XE7 installed?
-
I think this is a bug, not a general discussion and i think it's related to new version of unigui which is 98, because it's working fine with 97 as i remembered.
Best
-
I've had this problem before.
I am loading image with loadfromfile(uniservermodule.startpath + imagepath) (Ex. files/img.png)
That's a solution for one or two images. I don't want to do that for all picture on my project.
Thanks.
-
It maybe because your server can not create cache image file due restricted folder permissions.
No, i have permission and same system working properly before.
Look under cache folder. You must be able to see your PNG image inside one of the sub folders.
No, there is no image.
-
Hi,
I solve problem with FastReport images, it's not related to uniGUI. v5.1.8 is a new realese for XE7 and there is a bug in frxExportPDF.pas.
If anyone has same problem just open source and locate to;
Line Number : 3022
Code : if dots[ix].Alpha <> 255 then
Change : if dots[ix].Alpha <> 0 then
Best.
- 3
-
Hi,
I am using Delphi EX7 and unigui which is 0.98.0.1108.
This problem occurs only when i build my dll and put it under a webserver. Here is what i do;
- Create a new project
- Put a TUniImage on MainForm
- Click Picture property and load a picture from a PNG file.
- Run application as an EXE,
- Test it
- Everything is working fine.
Then
- Make same project an isapi dll
- Put it under a working server
- Test it
- NO IMAGE
Why?
-
I really do not use FastReport, but check if the images are integrated into the report using absolute paths, so this path may change when you deploy to the webserver?
brfc
Maybe if they are normal image ogjects but they are dbimage objects so there is no path. Same thing for unipicture objects which are not path realted but can't show images. I'll keep reseach for a solution.
Thanks for your help, best.
-
Create a separate webbroker ISAPI module that will generate pdfs with FastReport and accept parameters via url.
Yes, i thouth that too and begun to work.
I create a web service and use it for exporting reports to pdf, then showing in browser. Everythings works as it has to be.
But, Images not working?
FastReport, exports bu i don't know why images does not included or couldn't displayed. I have a strange problem with images too with another module doh. My banner images displayed when i run my project from local, but when i make a
dll and put it under a web server, images does not displayed!
Maybe, they are related.
Do you have any idea why those images couldn't displayed?
Best
-
Thanks, and i know but i can't use another system or way (
-
Hi,
I solve my problem but you will not gonna believe this. All problem is caused by FastReport's Drag'n Drop components like frxOLEObject, frxRichObject etc. If you have any of these in your project, something goes wrong and starts to
raise Access Violation error for every UniDAC object. I cleared them and just leave frxPDFExport object and now it's working just fine.
My System;
Delphi XE7
UniGUI o.97.1085
UniDAC 5.5.12
FastReport 5.1.8
I am gonna try this with upgraded version of UniGUI today or tomorrow.
Best regards
-
really? I never played with Apache, but when running ISAPis please see:
http://forums.unigui.com/index.php?/topic/4346-iis-much-faster-than-apache-for-isapi-dll/
brfc
You have to test it with you own eye's. I have 2 projects running around and had above 20 users for each and apache seems faster then iis.
-
No, I don't.
-
Hi,
I have an updated news about this problem. It seems there is a problem with MainModule/ServerModule with XE7+Unidac5.5.12(Probably). Because, when i start my apache server my new dll with XE7 32 bit can't create a connection to server but if i start our software with old dll D2001+UniDac3.5, it can create an instance and a connection. After these are created one time, my dll works perfectly fine.
I think, uniGUI creates a single instance and connection for a web-server and using different dll's doesn't count (create new instance's for theirselves). But i don't really know what's wrong with new dll and why it can't create instance/conneciton and get access violation.
I found, there is a difference between UniDAC 3.5 and 5.5 which is 3.5 uses non encrypted password and 5.5 uses an encrypted password. It may be related with this.
-
Hi,
Is there a way to use a LookupComboBox? For example, A column with fieldname JOB_TYPES_ID and i want to use this column with a lookupdataset with JOB_TYPES_ID, JOB_TYPES_NAME.
Grid will list ID's but shows Names and when i edit this cell it will show a combobox to choose.
Best
-
I remove Apache from user's server and return back to iis and with iis, new version starts to work. I thought it's apache's doing and when i saw it's working i decided that was apache's doing.
But after 5-10 minutes of usage it starts givin access violation everywhere too.
Now, i return back to delphi2007 version of my dll.
-
Yes, it's working. It's not working with original name but old dll is working with original name.
-
Delphi project compiles as EDSWEB.dll same as original. If i compile a new one and try to use, it's not working either. If i change back to EDSBETA it's starts working.
-
EDSWEB: 00000688: 14:28:47 [ExtFunctions:DBExecute]:Access violation at address 0475EB79 in module 'EDSWEB.dll'. Read of address 03F7405
This is from my logging. [ExtFunctions:DBExecute], this is my funtion and it's just run a sql command.
-
Hi,
I had a really strange problem. I recently upgrade my system to XE7 and move all my projects to new version. They are working properly except one and it's working properly too Confusing? Yes, it is.
I make a new DLL with XE7 and put it under the same folder which our software runs (with Apache 2.2). Our original DLL name is EDSWEB, and i placed new dll as EDSBETA. We start testing this new DLL and it's
working for 2 days perfectly.
Yesterday, we decided to use new DLL completely and i stop Apache Httpd, remove old EDSWEB.DLL and rename EDSBETA.DLL to EDSWEB.DLL and bam, It's not working.
Login page comes, but Query objects starts to raise Access Violation error everywhere.
I stopped Apache, clear cahce-temp everything i know which can make a problem. Clear browser cahce etc. But still it's not working.
I put old DLL back, and rename new DLL to EDSBETA again, and now both of them working!
Do you have any idea what is this about?
-
Hi,
I will just say if you can use Apache Httpd, then use it. In my own experiences, Apache is much faster than IIS with my project.
Best
TUniImage under Web Server doesn't work
in General
Posted
So, but image assigned and working fine when running as stand alone server?