Jump to content

Sylvio

Members
  • Posts

    57
  • Joined

  • Last visited

Everything posted by Sylvio

  1. I thought that the client had disabled it, they have like a full admin plesk hosting where the provider doesn't configure anything, so I guess the client missed this setting
  2. Turning safe_mode off solved my issue!! I will also try the 'upload_tmp_dir' directive change instead Thanks for all your help, my client thanks you Cheers Sylvio
  3. Could the issue be that PHP safe_mode is on?
  4. Ryan, That command did not solve my issue. Sylvio
  5. All write permissions are correct 777 to /site/assets/files/, a temp directory is created, for instance '5874', with 777 permissions, BUT the file is not moved to this location.
  6. Hi, So I am facing this issue, I just moved my clients website on to his (pre-live) hosting but I'm having issues uploading images and files, actually any upload thru processwire admin fails (http upload). I am getting this error: Unable to move uploaded file to: /var/www/vhosts/showled.tv/httpdocs/site/assets/files/5874/20110707_164442-1.jpg The hosting is a linux server with a Plesk system, and I think the problem is that every upload thru http is done by the user apache:apache, and there lies the problem! This is pretty urgent, the client started to add content, but he is not able to upload his images, etc... Is there anybody who can help me this issue? Regards, Sylvio
  7. SORRY, my bad Has to do with xdebug. Just raised the xdebug.max_nesting_level to 200 in php.ini and the problem is solved
  8. Hi, Out of the blue, I am getting this error: Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\data\My Dropbox\www\showled.com\wire\core\Pages.php on line 628 It happens when I try to 'edit' pages under a certain node It used to work and I am pretty sure I didn't change anything Any ideas Sylvio
  9. Super, thanks for the quick fix, I'll test it asap.... About the alignment, yes it's not in TinyMCE, that works fine, it's on my site, strangly enough I knew this, I think I need a good long sleep I'll let you know how the fix turned out
  10. I am using 2.0, I don't think 2.1 is suitable for production yet Latest commit, just installed it now Browser Chrome 12.0.742.91, Firefox 4.0.1 same issue
  11. Hi, I am not able to solve this issue I'm having with adding images thru the TineMCE editor, specifically when choosing an image from another page! If I already assigned an image to this page there is no problem. I am getting the insert image dialog, when I select another page that containes images, I get to see the list of images, select one, resize, etc..... When I finally select to 'Insert This Image', I am getting a broken image link. When I view the html in TinyMCE it looks like this '<img class="align_center" src="undefined" width="284" height="188" alt="ShowLED Classic LED starcloth Plopsaland Indoor Coevoorden" />' So the attributes are propagated EXCEPT the 'src' attribute, it says undefined!! Also one other thing, but I think this is configuration of CSS, image alignment does not work, it always positions to the left? This is pretty urgent Sylvio
  12. My first PW website Weddingplanner if you want to get married in Italy http://www.royaldreamweddings.com/
  13. When I have a parent tree node where ALL the child nodes are 'hidden' and I want to add new page under that parent tree node I am getting this PHP notice: Notice: Trying to get property of non-object in C:\data\My Dropbox\www\showled.com\wire\modules\Process\ProcessPageAdd\ProcessPageAdd.module on line 100 This piece of code in 'ProcessPageAdd.module' is responsible: } else if($this->parent->numChildren > 0) { $sibling = $this->parent->children('sort=-created, limit=1')->first(); $defaultTemplateId = $sibling->template->id; } else { $defaultTemplateId = $this->parent->template->id; } So I guess it makes sense?, 'hidden' excludes pages from the children 'PageArray', but if everything is hidden then we will get an empty 'PageArray' and there will be no first() element! It's only a PHP notice, but still something that needs to be solved I think to get clean code
  14. no problem Ryan, I will also try do debug it and come back to you as soon as I find an anwser
  15. I am getting a PHP notice in error log PHP Notice: Object of class InputfieldRadios could not be converted to int in C:\\data\\My Dropbox\\www\\showled.com\\wire\\core\\InputfieldWrapper.php on line 254, referer: http://127.0.0.1/showled.com/processwire/setup/field/edit?id=87 This piece of code public function ___processInput(WireInputData $input) { if(!$this->children) return $this; foreach($this->children as $key => $child) { // skip over collapsedHidden inputfields, beacuse they were never drawn if($child->collapsed == Inputfield::collapsedHidden) continue; // call the inputfield's processInput method $child->processInput($input); } return $this; }
  16. Ryan, it worked... But I think I need to use 'PageListSelectMultiple' Inputfield, I wasn't clear in my explanation. A project can have one or multiple related distributors, there are about 30 disitributors, every distributor resides under a tree node 'distributors', so for this I used the 'AsmSelect' Inputfield. From a distributor detail page, there can be one or multiple projects related, projects resides under a tree node 'projects', grouped under multiple categories tree nodes. Projects can be hundreds.... So to my guess PageListSelectMultiple is the best option here, cause I need to traverse the projects tree, correct? Also from a product page to related projects, same thing, traversing projects -> PageListSelectMultiple Cheers
  17. thanks, I see that I didn't read the docs properly, 'pages' is mentioned twice in the quote
  18. In the api documentation it states: I have a field called newsdate which I use as a key for sorting and I don't have it set as autojoin, but the sorting still works (I tried it by reversing the order)! Why is that?
  19. Found an issue with Datetime field type when 'datepicker' is enabled. The datepicker doesn't pop-up in page edit.
  20. True, the one from the video It's a must have How else do I "relate" the distributors with their projects and the products used in those projects, etc...you get the picture ;D
  21. I installed the Page List Select Mutiple module, created a field of type page, Mutiple Pages(PageArray) but in the 'Input field type' dropdown I don't see the option 'PageListSelectMultiple', I only see the 'PageListSelect'?
  22. I am also pro embedding services, my first thought was also the use of a textarea field, the problem is, I don't know how many videos on a page can be added, the client can add one or more... But I don't want to give them let's say 5 visible empty textareas from the start, but the ability to add another textarea for video if they want to. For images and file upload fields it's easy, they are more flexible in PW.
×
×
  • Create New...