Hi all,
Drupal 5.11
MySQL database 5.0.81
File system Writable (public download method)
PHP 5.2.5
Web server Apache 5.1.33334
While uploading an image in image field via CCk, I was getting the error
Error: An error occurred:
Fatal error: Cannot access empty property in /home/hollandg/public_html/sites/all/modules/imagefield/imagefield.module on line 1143
Then in PHP configurations settings i made the changes as:
allow_url_fopen on
allow_url_include on
display_errors off
Now, i am able to upload the image but the images are not the same what i upload.
What i found is images get saved in the /files folder and the image title field and alt field takes the correct data. but the fid which it takes is random. and the image what i uplaod is not there in the files table.
On preview it shows the correct image, but when i sbmit it shows the random image from the files directory.
Urgent Help on this issue is required.
Many Thanks in advance!!