Jump to content

houseofdeadleg

Members
  • Posts

    92
  • Joined

  • Last visited

Everything posted by houseofdeadleg

  1. I'm implementing a news section on a site I'm developing and I'd like to add pagination for when there are a large number of news items. I've enabled pagination on the templates used and added the code to output it, limiting it to 10 items per page. However, on a page with only 4 items it's showing pagination links for a page 2. The links themselves don't click through, and if I manually try to get to page 2 I get a page missing error. I should note that the links generated don't click through on any pages where they're generated, even if there are more than the 10 item limit.
  2. Bit of an issue with this module. I'm on PW 3.0.62, in the upgrades page it's showing that I have version 2.8.1 of the module and that there is a newer version to install. When I go through the update process it still says the exact same thing. Maps on the front end are also no longer working. Is this a known issue?
  3. I'm using PW 3.0.62 and the latest (1.5.7) version of AOS, and I get this error message when I try and go to the Users page – Error: Using $this when not in object context (line 722 of /var/www/xxx/modules/AdminOnSteroids/AdminOnSteroids.module)
  4. I've just added this module to a dev site and when trying to call the module for rendering I'm getting an error – Parse Error: syntax error, unexpected ',' (line 8910 of /Applications/MAMP/htdocs/xxx/site/modules/WirePDF/mpdf/mpdf.php) Additional: Looking at WirePDF module, it was saying I had two versions, one in the Pages2PDF folder and one separate one, I think one might be a Handover from a previous attempt to use teh same module. I deleted the Pages2PDF folder and the WirePDF one and did a fresh install, now I get teh error message Compile Error: 'break' not in the 'loop' or 'switch' context (line 2416 of /Applications/MAMP/htdocs/xxx/site/modules/Pages2Pdf/mpdf/classes/svg.php)
  5. Not a problem, thanks for the quick fix. Reinstalled and working perfectly
  6. I've just updated this module on my local and development servers. On the local machine there were no problems, however, on the dev server after updating the site's gone down with a 500 error and the log shows "Compile Error: Can't use method return value in write context (line 346 of /var/www/sm-prod-new/site/assets/cache/FileCompiler/site/modules/ProcessChangelog/ProcessChangelogHooks.module)". The only way I can see to get the site back up and running is to remove the ProcessChangelong directory from the Site > Modules folder. Once back on the site though I still have the Changelog page in the menu, it just shows the message "The process returned no content." If I try to reinstall the module I get the error message again and the site goes down. I'm running ProcessWire 3.0.62.
  7. Yeah, checked all of them. About 10 minutes after posting last night I got it working, but then this morning it's gone back to showing the error, nothings changed in the meantime.
  8. I've been working on his over the last few days and I've now got to a point where everything should be working from what I can see, but I'm getting a different error message now – Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Error has been logged. If I turn on debugging I get a bit more detail - Fatal error: Exception: SQLSTATE[HY000] [1044] Access denied for user 'xxxxxx'@'localhost' to database 'xxxxxx' (in /home/xxxxxx/public_html/wire/core/ProcessWire.php line 377) #0 /home/xxxxxx/public_html/wire/core/ProcessWire.php(209): ProcessWire\ProcessWire->load(Object(ProcessWire\Config)) #1 /home/xxxxxx/public_html/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config)) #2 {main} in /home/xxxxxx/public_html/index.php on line 64
  9. Thanks @Ivan Gretsky , though looking at that section in the htaccess file means nothing to me:) All folders are named correctly with the site prefix.
  10. I've just followed the directions for setting up a multisite processwire installatiopn (OPTION #1: MULTIPLE SITES WITH MULTIPLE DATABASES), to install a development site as a subdomain. I've gone through all the instructions and my main site is now working again and I can access it/log in as usual, but I can't access the new subdomain, I just get an error message - Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Any idea why I'm getting this message?
  11. I'm trying to use this module to create a PDF of a page on my website. I've tried following along with this thread and the tutorials, etc on Github but I'm still having trouble getting it to work correctly. The page in question is vector.houseofdeadleg.co.uk. If you click on the button the pdf downloads but only includes a header and footer, and any text on the page. I can't get the images to be included.
  12. I've checked and that's already turned on. The development server's running a multi-site install of PW, one of the other sites on the server has the exact same st up for videos/thumbnails and that works without any issue.
  13. I'm using this module on a site I'm developing, it works fine on the local copy, but on the development server it can't seem to grab the images from Youtube.
  14. I've just created a new local install for a new project and it's the first time Ive used the 3x version. Everything installed ok, but when I logged in i got this warning – "Not urgent, but note that your root .htaccess file is not up-to-date with this ProcessWire version - please update it when possible."
  15. I'm not sure exactly why, but it seems to be working as expected today, except for one other issue. When I tried to upload a couple of images that had failed yesterday I got an error – ""Refused file xxxx because it is already on the file system and owned by a different field.". It seems that the files were uploaded to the asset folder yesterday, but for whatever reason they weren't processed/resized or visible in the field. If I delete them from the assets folder and reupload they upload correctly.
  16. I've just updated a site to v2.8.35 and have gone into some existing pages to upload some images/replace existing ones. The first one I tried to change just kept spinning to show it was uploading but it took forever, eventually i reloaded the page, accepted the warning it threw up re. upload in progress and found that the image had managed to upload. Any other image I try to update it just hangs. Any theories? Known issue?
  17. Is it possible to load the feeds with AJAX?
  18. I need to create an electronic gateway that will hide a particular file until a user first enters and confirms their country of residence, and I'm not sure where to start. The basic process is – a form is displayed asking for country of residence, a checkbox for terms and conditions, and a submit button. After passing this there is a second screen which reiterates the conditions, possibly with extra information, and a second checkbox/submit button. Passing that will display the file. They's also like to obfuscate the URL or similar, so the screens above can't be bypassed and the file accessed directly. I've been looking through the creating forms with the api thread but it's a very long topic and Ive not been able to get very far with it. I implemented Soma's first bit of code from that thread but it doesn't seem to process the form/pick up any errors, etc. Is this the best route to stick with, or would FormBuilder be a good alternative?
  19. I have this module set up and running on a site, there was an issue with the feed and it wouldn't load, but it also stopped the pages loading as well.
  20. Steps taken are exactly as described in the instructions. If there were any errors I would've posted them. I've been through it, I've also been though it with 2 of our IT guys and they can't see why it's not working either. Update: I've been trying to add the styles to the 'body' field, with no success. As soon as I tried adding them to a different field, voila, it works. I've gone back and tried the body field again but it still doesn't work. Possibly caching?
  21. Hmm, maybe it's just me but I've followed the instructions and I still can't get this to work. Ive been through it about 4/5 times and still no joy.
  22. Been having a play with this using your suggestions above. The first way shows the map and markers, but no content in the markers (and no console errors), the second way the map doesn't show but looking in the code generated all the copy os there but showing an error (SyntaxError: unterminated string literal).
  23. I notice that this module isn't in the module directory anymore, however I downloaded and installed it a few months ago so I'm using an old version for now. I have a page displaying a map, pulling in multiple locations from child pages and displaying as markers. That all works fine, but I'm wondering if it's possible to change what's included in the marker popup. Currently it just displays the child page title, I'd also like it to include a body field if it has content.
  24. Thanks guys, that works a treat. The only issue I've spotted so far is that it sometimes reloads the whole page, it doesn't seem to be always the same page number or any pattern I can make out.
  25. This may have been covered before, I did a search through the forum and found a couple of similar topics, but they went a bit over my head:) I have a page that currently has around 14 child pages. There's a section in the parent that finds and displays the children as a list and I've added pagination to it without any trouble. However, clicking on next, etc reloads the whole page, I'd like to just reload the section with the list. Hopefully that all makes sense.
×
×
  • Create New...