Closed (fixed)
Project:
VoiceBox
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2010 at 11:30 UTC
Updated:
27 Jan 2011 at 01:00 UTC
Jump to comment: Most recent file
I know that the feed url is correct, but nothing imports. I get the following:
warning: htmlspecialchars() expects parameter 1 to be string, array given in /srv/aegir/platforms/MyVoicebox/includes/bootstrap.inc on line 857.
warning: htmlspecialchars() expects parameter 1 to be string, array given in /srv/aegir/platforms/MyVoicebox/includes/bootstrap.inc on line 857.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | voicebox.png | 26.93 KB | mwoodwar |
| #4 | myvoicebox.png | 62.53 KB | mwoodwar |
Comments
Comment #1
bonobo commentedA couple questions:
1. What does the "Fast Feed" in the title refer to?
2. What is your server set up (OS, Apache version, PHP version, MySQL version, amount of memory allocated to VoiceBox, to start)
3. Are other feeds importing without issue?
4. Are there any corresponding errors in your Apache/PHP error logs?
5. What is the URL of the feed where you experience this error?
These issues also appear relevant: #829250: warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/opticist/public_html/includes/bootstrap.inc and #908452: warning: htmlspecialchars() expects parameter 1 to be string, array /bootstrap.inc on line 857. after update -
Comment #2
mwoodwar commentedLet's see: Fast Feed is what the content type is called, and displays on the page when I try to show the feeds. I haven't tried any other feeds yet, and the url I'm trying to import is http://estonia.ecotone.us/rss.xml
I'll have to review the other criteria when I'm next at the server (versions and memory)
Mark
Comment #3
bonobo commentedIs Fast Feed a new content type you created? If so, what parser are you using?
I just imported this feed with no issues on our test site.
Comment #4
mwoodwar commentedNo, it was already there. In the content types there was Fast Feed, and Feed Item ? But I just noticed a very interesting thing. You may not remember, but I wrote concerning an Aegir/Drush install which did not 'enable' any of the Voicebox functions? Well, I have two installs just now. One where I installed via the make file, and one where I uploaded the tarball.
It appears that there are some very different features in the two. I am enclosing two screen shots of the different content type screens. I have so far created NO content types myself. As far as memory serves:
1)voicebox.ecotone.us : I installed from the make file...At first it just appeared as a regular drupal install, but I was able to configure it to a voicebox site quite easily. For curiosity sake, and to be sure that I had the full package, I uploaded the tarball, and created:
2)myvoicebox.ecotone.us: This is the install where fast feed shows up in the content type.
I don't want/mean to waste your time, but would love to know what I did or did not do to make these two installs so different. By the way, in voicebox.ecotone I was immediately able to import the feed...in myvoicebox (fast feed) I'm still baffled.
Comment #5
bonobo commentedWe'll test on this - in voicebox.png, some of the content types are missing. In myvoicebox.png, fast feeds is there when it shouldn't be (and I think this comes from feeds_defaults module, which we are not using in our profile.
You are definitely not wasting our time - thank you for reporting these issues. We will be doing some work with VoiceBox later this week/early next week as we will be looking to move from alpha1 to alpha2 (or maybe beta; we'll see).
FWIW, we tested both the install profile and the makefile, and didn't see any of the issues you are reporting. But we will definitely try and replicate this.
Thank you for taking the time to report this - could you give us any additional info on your server environment?
Comment #6
mwoodwar commentedSure, here are the stats from my 'status report' ...
MySQL database 5.0.51a
PHP 5.2.6-1+lenny9
PHP memory limit 128M
Web server Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
Comment #7
jgraham commentedmwoodwar, you are correct the packages worked at one point with an earlier version of drush make. I went around in circles a few times and finally gave up on the packages. I built them such that they worked with the version of drush I was testing/building with. This meant creating them without a directory in the tarfile. so instead of 'voicebox_homepage/voicebox_homepage.module' it was 'voicebox_homepage.module'
I wish I would have documented the version of drush. With that version of drush the tarball was built via the make file. Using the current version of drush the package extraction fails on the make file due to the lack of subdirs in the tarballs. While this means that all of our packages are broken, I'm actually happy as I really didn't like that "fix".
Look for voicebox beta soon and thanks for the detailed feedback.
Sorry for the inconvenience.
Comment #8
mwoodwar commentedYou're more than welcome...I'm having a blast playing with it...good show
Comment #9
jgraham commentedThis has been fixed in the latest packages and the current makefile.