Philo Hermans: Banners Not Displaying - Philo Hermans

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Banners Not Displaying

#1 User is offline   Jesther Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 14-July 10

Posted 16 July 2010 - 02:26 PM

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!
0

#2 User is offline   Philo Icon

  • Administrator
  • Icon
  • Group: Administrators
  • Posts: 67
  • Joined: 26-October 09

Posted 17 July 2010 - 10:31 PM

View PostJesther, 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!


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
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users