I have been trying to get both 1.X dev and/or 2.0 to work on our system. Now it is probably something stupid that I am overlooking. after installing, when I go to add a fileshare node, I have no way to preview or submit it. It has no preview or submit button. Now I have taken this project over from some one else so there could be a pre existing issue I am not aware of although I have not had this problem with any other modules I have installed. I have looked for similar issues on Drupal but not found any.

Thanks

Justin

CommentFileSizeAuthor
#2 PHP Error log.pdf21.34 KBjbarbalace0

Comments

JamieR’s picture

Please try the version in HEAD for now... that's the most up to date. I've never quite gotten the hang of cvs...

jbarbalace0’s picture

StatusFileSize
new21.34 KB

I think that is the version that was installed, all the dates, times and sizes were the same, but I installed it inyhow with the same result. I did play with this a little last night. I created just a page with a preview button that posts the form to the module as a prieview and it would then give me a submit button. It had problems with errors and I started to get other errors:

sort() expects parameter 1 to be array, null given in /usr/local/psa/home/vhosts/pcarmenia.am/httpdocs/modules/fileshare/fileshare.module on line 653.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.moderate, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /usr/local/psa/home/vhosts/pcarmenia.am/httpdocs/includes/database.mysql.inc on line 121.

implode(): Bad arguments. in /usr/local/psa/home/vhosts/pcarmenia.am/httpdocs/modules/node.module on line 363.

Invalid argument supplied for foreach() in /usr/local/psa/home/vhosts/pcarmenia.am/httpdocs/modules/node.module on line 359.

I am wondering if it may have something to do with our wonderful and oh so loved by us hosting provider running PHP in safe mode (which I Know this is a common practice).

I have attached a PDF of the PHP Error log with all the errors being from Fileshare or somehow related.

Thanks

Justin

jbarbalace0’s picture

I have gotten the submit button on all pages by using a module to bypass preview button for certian users groups, however I am still having problems posting and have concluded it it a Safe mode issue. We now have the fun of begging and pleading with our provider to get them to turn of safe mode and that they don't need it on for pur virtual domain.... its a shame I have not practiced m Jedi Mind tricks for a while...

Jusitn

jbarbalace0’s picture

PHP Safemode turned off, no more issues...

JamieR’s picture

Title: Preview/Submit Buttons (1.x-Dev & 2.0) » Won't work in PHP Safe Mode
Priority: Normal » Minor
Status: Active » Closed (won't fix)

Sounds like php in safe mode won't work with this module... I'm changing the title. Thanks!