Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Kuma

Pioneers
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Kuma

  1. Posting in the hope that this might be helpful to someone. I installed the 2.2 version today and at first received three oddities. First, the "Your username is invalid - Please change it and try again” message. Second, the “Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/content/*/*/*/***/html/admin/sitemonitor_configure_setup.php on line 488” message. Oddity number three was no update or reset buttons on the bottom of the configure page.

     

    So I noticed as someone else on this board did that the password being called was for my SQL database and not my site admin. After a bit of thought, I decided to directly check out the file sitemonitor_configure.php (located in your admin folder). The section I was interested in looks like this:

     

    $start_dir = '/home/username/public_html'; //your shops root
    $admin_dir = 'http://www.yourdomain.com/admin'; //your shops admin
    $admin_username = 'username'; //your admin username
    $admin_password = 'password'; //your admin password
    $excludeList = array("admin/quarantine", "cgi-bin","admin"); //don't check these directories - change to your liking - must be set prior to first run

     

    I edited the 'username' and 'password' to fit my admin information. I then edited the $admin_dir to match my domain and admin folder location. Finally I changed the admin in front of /quarantine in the $excludeList to match my admin location. I saved and entered back into my site. First problem was solved. No more username invalid message.

     

    Next thing I took care of was the fatal error. I noticed a post with the same problem that Jack had already answered. This worked for the original post and also worked for me.

     

    In admin/sitemonitor_configure_setup.php , find

    htmlspecialchars_decode

    and replace it with

    html_entity_decode

    That solved the fatal error problem and also surprisingly took care of the buttons issue (well it surprised me anyway). Both buttons appeared at the bottom of the configure page now and I also had a correct Sitemonitor Admin page now.

     

    Now that I had update buttons I decided to try to remove my admin username and password using the configure page. This worked and I do not need them entered it appears.

     

    In retrospect, I likely should have solved these in reverse order and then I could have just used the configure page to update. But the direct file edit worked in the end. I have now ran and tested the contribution a few times. It is working excellent on my site. Thank you Jack!

     

    All of this is probably dumb for anyone who knows what they are doing, but in case it is helpful to other newbies like me I thought I would post.

     

    Now 2 questions for those who know far more than me:

    1. Is there a reason I should run using CURL as opposed to not using it?

    2. Would it make sense for better security to download a copy of sitemonitor_reference.php to my local hard drive? Since this is the reference file, would it be better to not store it online? Would this cause errors later when I uploaded it and then ran sitemonitor?

  2. Jack and Mort-lemur,

     

    Thank you for the answers. I did check my feed file as you suggested Jack and all is well there. Google finally took it and my items are appearing now. I think you were right Mort and I hope your feed is working now as well.

     

    Just out of curiosity, on the Google settings question I posted last is there an optimum choice of settings? For instance my encoding is currently set to Latin-1. Is that correct for this contirbution or should I set to something like autodetect? Or is this one of those situations where it all depends on the server you are hosted on and there is no specific answer that applies to everyone?

     

    Again, thanks for the assistance.

  3. Jack, Seriously thank you for this update on the Google feeder. It works far better than it ever has for me.

     

    One question. Right now I am getting extremely long processing times on Google and it never seems to upload anything (this is going on two days now). In the past I could get the file to manual upload, but I had to go in and do it myself every month (with many thanks to you, I can now get it to actually work and send data directly to Google!). I am wondering if this long processing time has something to do with my settings on Google.

     

    Usually I can figure things out just by digging around on Google or the boards, but I cannot seem to find the right set of keywords to find what I need this time. Forgive me as I am sure this has been asked somewhere before.

     

    What should my settings under my Google Merchant Account look like? These are the options:

     

    Feed Format

    --> Googlebase

    --> Shopping.com

    --> Shopzilla

     

    File Format

    --> Autodetect

    --> XML

    --> Text

     

    Encoding

    --> Autodetect

    --> ASCII

    --> Latin-1

    --> UTF-16 BE

    --> UTF-16 LE

    --> UTF-8

    --> Windows-1252

     

    Delimiter

    --> Tab (/t)

    --> Pipe(|)

    --> Tilde (~)

     

    Use Quoted Fields

    --> Yes

    --> No

     

    Again thanks for the update Jack. And thanks to anyone who can help me on this.

×
×
  • Create New...