OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to add images in database from xml file (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

How to add images in database from xml file

sedo5760 (Visitor)
Posts: 0
graphgraph
User Offline
How to add images in database from xml file 10 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.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to add images in database from xml file 10 Years, 6 Months ago
Karma: 102  
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.
sedo5760 (Visitor)
Posts: 0
graphgraph
User Offline
Re:How to add images in database from xml file 10 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.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to add images in database from xml file 10 Years, 6 Months ago
Karma: 102  
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
»