Fatal error: require_once() [function.require]: Failed opening required '/' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/sites/all/modules/draggableviews/draggableviews.inc on line 203
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | draggableviews.inc_.patch | 995 bytes | sevi |
Comments
Comment #1
sevi commentedIf this happened when accessing a view that still used the old configuration (from 6--3-1), I would not worry.
Otherwise this could be very interesting :)
Comment #2
junro commentedThis resolve the problem:
admin/build/views
and go to your draggable views et save configuration of all of them. And it's working. :)
Comment #3
junro commentedYou have to update the draggable settings before to save draggable views (of course).
Comment #4
junro commentedThis works for me with a very simple draggable views, but with another one much complicate, I have this:
user warning: Table 'xxx.draggableviews_structure' doesn't exist query: DELETE FROM draggableviews_structure WHERE vid=81 AND nid=128 AND delta=0 in /home/xxx/www/sites/all/modules/draggableviews/implementations/draggableviews_handler_native.inc on line 23.
I've got a lot of lines like this with differents vid=81 AND nid=128 & ......_native.inc on line 24 too.
Comment #5
junro commentedI said "This works for me with a very simple draggable views" ----> False same user warning when I want to drag and save (this little draggable views was directly in a panel).
Comment #6
junro commentedI tried to create a new draggable views but same problem:
user warning: Table 'xxx.draggableviews_structure' doesn't exist query: DELETE FROM draggableviews_structure WHERE vid=81 AND nid=128 AND delta=0 in /home/xxx/www/sites/all/modules/draggableviews/implementations/draggableviews_handler_native.inc on line 23.
I've got a lot of lines like this with differents vid=81 AND nid=128 & ......_native.inc on line 24 too.
Comment #7
sevi commentedHm.. and did you run update.php?..
I'll cover this issue tomorrow.
greetings,
sevi
Comment #8
junro commentedHi, sure I run update.php but I think the update doesn't work, no files was uploaded.
And as you ask me this question, I suppose the tables have changed so...
Comment #9
sevi commentedOk, now I've implemented hook_update. Now the new table should be created.
I also added some error-checking for non-existing handlers. In the worst-case there should be displayed a drupal-error-message (No fatal errors any more).
I tried both updating from 6.x-3.1 and installing a new drupal from scratch. For me it works.
Always make sure you have the correct handler defined. Unfortunately I still don't know how compatibility-checks of chosen handlers should be done. So be careful :)
Change are already commited to Drupal-6--3 branch.
..please try and let me now,
greetings, sevi
Comment #10
junro commentedok, but no new version is available. I suppose I have to wait :)
Comment #11
junro commentedok, just tried the last version, one draggable view works, just put the header on CCK.
Others draggable views:
warning: require_once(/) [function.require-once]: failed to open stream: Success in /www/sites/all/modules/draggableviews/draggableviews.inc on line 218.
Comment #12
sevi commentedOk. This patch should prevent PHP-Fatal-Errors.
But with just updating the style-plugin-settings you could have bypassed this problem - I suppose.
Now you should see a drupal-error-message "Handler not found" instead of the PHP-Fatal-Error.
cheers,
sevi
Comment #13
sevi commentedseems to be fixed
Comment #14
junro commentedHello Sevi,
These last days, I didn't have time to work with my draggable views.
I'm going to work the next days only on this ^^.
I will report all problems as usualy :)
Thanks