-
Posts
76 -
Joined
-
Last visited
Everything posted by icreation
-
Instaling from https://raw.githubusercontent.com/somatonic/PWOnlineInstaller/master/grabpw.php seems to hang at the final stage after you enter the DB details. Done this many times before and 2 attempts on the latest version today. Any ideas?
-
I have a file field in a repeater where anything over 20Mb seems to just hang. See the pic below - it gets to 100% and then does nothing. I am using PW 3.0.62 I have the following settings in .user.ini upload_max_filesize=1024M post_max_size=1024M max_execution_time = 3000; max_input_vars = 5000; Any ideas?
-
- file fieldtype
- upload limit
-
(and 1 more)
Tagged with:
-
Thanks for that I've managed to bypass the renderNav function and managed to get it work. Thanks
-
I'm not sure where these statements are to go. On the top of each file, including includes? Does not seem to fix it though.
-
I have a simple site search using the functions from the default beginner profile in my development site - http://normand.indevelopment.website/ However with debug on I get the following error when trying to SEARCH and then output to the renderNav function. Any ideas? Catchable fatal error: Argument 1 passed to renderNav() must be an instance of PageArray, instance of ProcessWire\PageArray given, called in /home/normandandthomso/public_html/site/templates/search.php on line 52 and defined in /home/normandandthomso/public_html/site/templates/inc/functions.php on line 28
-
Awesome Arjen many thanks. That has fixed it.
-
Hi After installing the comments module and seemingly getting it to work I find that when I go into ADMIN and go to SETUP > COMMENTS I get this error. I have a fresh install of PW 3.0.42 Any ideas what this could be? Error: Call to a member function showInHeader() on a non-object (line 586 of /home/daviddoig/public_html/wire/modules/Process/ProcessCommentsManager/ProcessCommentsManager.module) This error message was shown because: you are logged in as a Superuser. Error has been logged d.
-
Thanks for replying. The data should be intact so I would say no to validation for this part of the spec. Mike
-
Our development website is complete and needs a PHP connector to a feed of properties to display on our client's front end. We need to make a FTP connection to property information that is provided by another company. See attached demo data file. Then we need to make pages in Processwire that display the property details (images, text, prices, etc) We have 2 templates • Property details – we will do the html and layout for this all we need from you is the data made available. • Property list – as above. Also, we need a property filter so that visitors can select PRICE range, BEDROOMS to narrow the property list. Please come back to me with a price and timescale as well as available start date. datafile_example (2).zip
-
Thanks Macrura, awesome help. A wee typo in your code Line 6 should be $n->month = date("m", $n->getUnformatted("newsletterdate")); Cheers
-
Hi Macrura thanks for that. My PHP is sketchy but I am nearly there. I managed to echo the months but cannot seem to figure out how to loop the fields for each month. For example all the repeater rows that have August as a date in a loop. See my attempt below: $months = array(); $newsletterrepeater = $thispage->newsletterrepeater; foreach ($newsletterrepeater as $n) { $months[] = date("m",$n->getUnformatted("newsletterdate")); } $months = array_unique($months); rsort($months); foreach ($months as $m) { $monthName = date('F', mktime(0, 0, 0, $m, 10)); echo ' <table> <tr> <th colspan="3">'.$monthName.'</th> </tr>'; // Stuck on this loop foreach ($m as $archivenews) { echo '<tr> <td>'.$archivenews->newsletterdate.'</td>' <td>'.$archivenews->newslettertitle.'</td> <td><a href="'.$archivenews->newsletterlink->url.'">View File</a></td>'; } } ?>
-
Thanks tpr but there are multiple rows with dates containing the same month. What i need to do is group the rows by month. For example August 2016 - list of repeater rows July 2016 - list of repeater rows etc
-
I have an application where a repeater called 'newsletterrepeater' has field like this $newsletterrepeater = $page->newsletterrepeater->sort('-date'); foreach($newsletterrepeater as $n){ echo $n->date.$n->title.$n->file; } The field types are: date = dateTime field title = text field file = file field I want to group the entries into months. See code below where [[ ]] is my unknown code. foreach ($newsletterrepeater as $n) { [[ foreach month ]] <table> <tr> <th colspan="3"> [[month]] </th> </tr> echo ' <tr> <td>'.$n->date.'</td> <td>'.$n->title.'</td> <td><a target="_blank" href="'.$n->file->url.'">Download Newsletter</a></td> </tr>'; </table> }
-
Thanks for the replies but no joy on these solutions I'm afraid.
-
I've used Processwire for years and have developed hundreds of website but never seen this issue before. On http://strawberryweddingfilms.co.uk/ in the admin area the page tree just hangs. No errors in the console but after about 5 mins the browser brings up the error in the screengrab below. This would appear to be a SQL connection error but our host cannot find an issue. We created a duplicate test site on another server and the problem is the same. This was working but suddenly stopped. I am out of ideas. Anyone got a clue at all? I tried re-installing the core and it is currently running PW 2.7.2
-
We have an existing website at fifetourismpartnership.org that was built a few years back in PW2.3. It is a CMS, directory, forum with news and events. It allows individual users to edit their own directory entries, news and events (Admin can moderate in the dashboard). We will create a separate dev site for this work to be done but need to find someone reliable at a good price to be able to do some significant development work to the site with an immediate start. Full brief available once we gather interest.
-
Thanks
-
Thanks @adrian the page has been unpublished. But the front end of it was ok, showing no errors in debug mode. We have just recreated the page and there are no issues. @Robin S - interesting about the mod_security but why would it affect only this page?
-
The only log we have on the server is when it is access in the browser. No errors are apparent, unless this is telling me of a 500 error? Here is it: <ip address> - - [20/Jun/2016:08:18:15 +0000] "GET /<admin-url-here>/page/edit/?id=1278 HTTP/1.1" 500 - "http://theroyalscottish.com/<admin-url-here>/page/" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36"
-
There are no recent entries in these logs at all.
-
I have a bizarre error. One page (nothing unique about it) is blank in Admin. The page works on the front end. - http://www.theroyalscottish.com/scottish-cruises-1/inner-clyde/ten-night-inner-clyde-cruises-1/ In admin we get a blank page when trying to edit. Other pages with the same template work fine. I switched on debug mode in 'site' and 'wire' but the page is still blank. Page source is also blank. Does anyone have any ideas?
-
Sussed it thanks. It has to do with the .user.ini file in the root directory. I forgot the dot on the beginning of this. I set it to upload_max_filesize=50M post_max_size=50M
-
I want to allow the user to upload video files of around 40Mb to the fieldTypeField. See the attached image for the message that comes up. Message says that maximum allowed is 12228kb. I have made changes to the user.ini file in the root directory, but this does not help. post_max_size = 50M upload_max_filesize = 50M memory_limit = 200M max_execution_time = 600 Any ideas?
-
FieldtypeCropimage croppableimage issues on PW3.x
icreation replied to icreation's topic in General Support
Thanks very much, this has fixed it for me- 3 replies
-
- crop image
- croppable
-
(and 1 more)
Tagged with:
-
Fieldtypecropimage has been used extensively for years by us. This is essential when trying to control the aspect ratio of an image in a responsive environment. A good example of this is a slideshow, where you can allow the client to upload a 4:3 image and it display a letterbox shaped crop on the front-end. However, neither FieldtypeCropimage or Croppableimage modules are working on PW 3.0.17 You can browse your computer for images but they just do not load. Any ideas as I am stuck. If there is no solution, can anyone help me downgrade my PW installation to 2.7 ?
- 3 replies
-
- crop image
- croppable
-
(and 1 more)
Tagged with: