OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to add images in database from xml file (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: How to add images in database from xml file
#12444
sedo5760 (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
How to add images in database from xml file 2 Years, 6 Months ago Karma: 0  
Dear friends,

I'm trying to import properties from an xml file into the database itself through an php script.
This xml script has te be read on a daily basis.
After downloading the images in the appropriated map, i do get an error and no picture is to be seen.
I'm trying to import the images in the 'rem_photos' table with a new index number.
Hereby the error messages:


Notice: Undefined index: extension in Dampphtdocsronald3administratorcomponentscom_realestatemanagerrealestatemanager.php on line 1914

Warning: getimagesize(Dampphtdocsronald3/components/com_realestatemanager/photos/joep): failed to open stream: No such file or directory in Dampphtdocsronald3administratorcomponentscom_realestatemanagerrealestatemanager.php on line 1918

Warning: imagecreatetruecolor(): Invalid image dimensions in Dampphtdocsronald3administratorcomponentscom_realestatemanagerrealestatemanager.php on line 1947
not support


Does anyone has a solution for this problem?
Thanks in advance.
Joep
 
Logged Logged  
  The administrator has disabled public write access.
#12453
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:How to add images in database from xml file 2 Years, 6 Months ago Karma: 61  
Hello

Please printer code with error , before error and after error and check manual for that function

Thanks,
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
#12456
sedo5760 (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:How to add images in database from xml file 2 Years, 6 Months ago Karma: 0  
Hi,

I've manually added a picture in the same folder as where all other images are.
Then i've added manually an entry in the table 'photos' and gave it a name. Then, when opening,. no picture is seen and error message is show, as i described above.
 
Logged Logged  
  The administrator has disabled public write access.
#12485
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:How to add images in database from xml file 2 Years, 6 Months ago Karma: 61  
Hello,

Please add images - as that define in component, if you need some other algorithm - please order that or from us or from other

We can't in forum help how rebuild our soft to some other

Thanks,
ordaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?