Halfagain IM Forums
May 24, 2012, 09:39 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: 1 [2]
  Print  
Author Topic: Ebay plugin problems  (Read 1663 times)
0 Members and 2 Guests are viewing this topic.
jjarrett
Newbie
*

Karma: 100
Offline Offline

Posts: 64



WWW
« Reply #15 on: May 09, 2008, 00:27 »

You're right. I'm seeing something really weird on my site. Sometimes it works, and sometimes it doesn't. Is it possible that I need to set the cron to run more than once a day?

Also, could the .htaccess file in the root directory, which runs on a different script cause a problem?

Right now I have 5 sites that are displaying this error, and 2 that are displaying the old error.

Any suggestions? Quite frankly it's making me pull my hair out. I hope I didn't do something to screw this up.

I will reload the files one more time and change the cron. Not sure what else to do. Just let me know what you would suggest. I really want to get this fixed. My sites are pretty much where I want them to be, and I'm ready to work on something else, like promoting them. Wink

Thanks, Jinger
Logged

How to Make Money Online Without a Website, a List, or Expensive Pay Per Click campaigns. Learn the simple online strategies I use to to earn thousands every month marketing with classified ads. Free Marketing With Classifieds Ebook
jjarrett
Newbie
*

Karma: 100
Offline Offline

Posts: 64



WWW
« Reply #16 on: May 09, 2008, 02:44 »

I reloaded the files according to the instructions. Now I'm getting the following error on three of the sites:

Fatal error: Unable to read 16337 bytes in /home/jingerja/public_html/smallbusinesshowto.com/index.php on line 0

Any idea what would cause this and how I can fix it? Thanks, Jinger
Logged

How to Make Money Online Without a Website, a List, or Expensive Pay Per Click campaigns. Learn the simple online strategies I use to to earn thousands every month marketing with classified ads. Free Marketing With Classifieds Ebook
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #17 on: May 09, 2008, 07:31 »

Quote from: jjarrett
I reloaded the files according to the instructions. Now I'm getting the following error on three of the sites:

Fatal error: Unable to read 16337 bytes in /home/jingerja/public_html/smallbusinesshowto.com/index.php on line 0

Any idea what would cause this and how I can fix it? Thanks, Jinger


Yep. Binary mode.. or better say, not Binary mode upload. http://halfagain.com/forum/showthread.php?t=2047
Logged
jjarrett
Newbie
*

Karma: 100
Offline Offline

Posts: 64



WWW
« Reply #18 on: May 10, 2008, 02:23 »

Omar,

I found that thread after I had uploaded everything. I thought I had put everything in binary mode, but I had to reload the files a couple of times before I got it right.

I'm still having the same problem with the Ebay plugin in though. The link looks like this:

http://click.php/?l=aHR0cDovL3JvdmVyLmViYXkuY29tL3JvdmVyLzEvNzExLTUzMjAwLTE5MjU1LTAvMT9jYW1waWQ9NTMzNTgyMDcxNCZjdXN0b21pZD1qaW5nZXJqYXJyZXR0Y29tJnRvb2xpZD0xMDAwNSZtcHJlPWh0dHAlM0ElMkYlMkZjZ2kuZWJheS5jb20lMkZKZWZmLVdhbGtlci1QTEYtMS1Qcm9kdWN0LUxhdW5jaC1Gb3JtdWxhLTEtRnVsbC1Db3Vyc2VfVzBRUWl0ZW1aMzAwMjIyODg3NTE0UVFjbWRaVmlld0l0ZW1RUXNzUGFnZU5hbWVaUlNTJTNBQiUzQVNSQ0glM0FVUyUzQTEwMQ%3D%3D

It's leaving the domain out, so it's not redirecting correctly. Any ideas on this one?

All of my sites are up and running, and everything is working great but this.

It's the same on everyone of my sites. I'm clueless. Any ideas?

Thanks, Jinger
Logged

How to Make Money Online Without a Website, a List, or Expensive Pay Per Click campaigns. Learn the simple online strategies I use to to earn thousands every month marketing with classified ads. Free Marketing With Classifieds Ebook
jjarrett
Newbie
*

Karma: 100
Offline Offline

Posts: 64



WWW
« Reply #19 on: May 12, 2008, 22:30 »

I have found the fix for this problem.

In the template (I am using Clean), there are two root tags that shouldn't be there.

That's why when you click on the title or image link for Ebay products, they don't show up (you get a page cannot be displayed error), but when you click on the buy link, it works.

Here is the original code:





 


      eBay



 

 {foreach name=i from=$ebay_products item=rproduct}

{if $smarty.foreach.i.iteration%2==1}
       
{/if}



   
     
     
     

     

To fix it, remove the two root tags that are highlighted:





 


      eBay



 

       
{if $rproduct.photo_uri == 'n_a'}
         
{else}
         
{/if}
       

     

      {$rproduct.name}
     
{$rproduct.description|strip_tags|truncate:$description_length:''}

Buy for
         {if $rproduct.num_price>0}{$rproduct.price}{else}n/a{/if}



 {foreach name=i from=$ebay_products item=rproduct}

{if $smarty.foreach.i.iteration%2==1}
       
{/if}



   
     
     
     

     


Please note that this is in the Clean template. There is only a problem with the products.tpl page.

Jinger

       
{if $rproduct.photo_uri == 'n_a'}
         
{else}
         
{/if}
       

     

      {$rproduct.name}
     
{$rproduct.description|strip_tags|truncate:$description_length:''}

Buy for
         {if $rproduct.num_price>0}{$rproduct.price}{else}n/a{/if}

Logged

How to Make Money Online Without a Website, a List, or Expensive Pay Per Click campaigns. Learn the simple online strategies I use to to earn thousands every month marketing with classified ads. Free Marketing With Classifieds Ebook
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!