Dear Philo
I am still having problems getting your script to work fully for 2 reasons!
1.) When uploading a banner, it is being uploaded to the /assets/banners/tmp folder. The webpage is not displaying the image as the path is to /assets/banners/active folder!!
Any ideas why this s uploading to the wrong folder? - possibly something to do with Q2
2.) I am getting HTTP error email every time I try to make payment and advert is not displaying automatically - I have to manually confirm each order.
I note that someone else had this problem and I have ensured that fsockopen is enabled on the server.
Please help!
I see your function upload_action($action, $file){
$copyfrom = './assets/banners/tmp/'.$this->core_model->stripUpload($file);
$copyto = './assets/banners/active/'.$this->core_model->stripUpload($file);
I guess when payment is made, then it should be copied to /active folder!
Page 1 of 1
Banners Not Displaying
#2
Posted 17 July 2010 - 10:31 PM
Jesther, on 16 July 2010 - 03:26 PM, said:
Dear Philo
I am still having problems getting your script to work fully for 2 reasons!
1.) When uploading a banner, it is being uploaded to the /assets/banners/tmp folder. The webpage is not displaying the image as the path is to /assets/banners/active folder!!
Any ideas why this s uploading to the wrong folder? - possibly something to do with Q2
2.) I am getting HTTP error email every time I try to make payment and advert is not displaying automatically - I have to manually confirm each order.
I note that someone else had this problem and I have ensured that fsockopen is enabled on the server.
Please help!
I see your function upload_action($action, $file){
$copyfrom = './assets/banners/tmp/'.$this->core_model->stripUpload($file);
$copyto = './assets/banners/active/'.$this->core_model->stripUpload($file);
I guess when payment is made, then it should be copied to /active folder!
I am still having problems getting your script to work fully for 2 reasons!
1.) When uploading a banner, it is being uploaded to the /assets/banners/tmp folder. The webpage is not displaying the image as the path is to /assets/banners/active folder!!
Any ideas why this s uploading to the wrong folder? - possibly something to do with Q2
2.) I am getting HTTP error email every time I try to make payment and advert is not displaying automatically - I have to manually confirm each order.
I note that someone else had this problem and I have ensured that fsockopen is enabled on the server.
Please help!
I see your function upload_action($action, $file){
$copyfrom = './assets/banners/tmp/'.$this->core_model->stripUpload($file);
$copyto = './assets/banners/active/'.$this->core_model->stripUpload($file);
I guess when payment is made, then it should be copied to /active folder!
This is correct, there is a bug, please check this post for more information.
I have replied on your second question in your other topic.
Kind regards,
Philo Hermans
Philo Hermans
Page 1 of 1

Sign In
Register
Help

MultiQuote