Jump to content

creativeguy

Members
  • Content Count

    33
  • Joined

  • Last visited

Community Reputation

9 Neutral

About creativeguy

  • Rank
    Jr. Member
  • Birthday 04/01/1966

Profile Information

  • Gender
    Male
  • Location
    Toronto Canada
  • Interests
    Creative, design

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Awesome, thanks Robin. That's what I needed.
  2. Hi - wondering if there's a module or plugin for PW that would allow users to "Sign up for access" that would also manage what pages of a site are accessible to someone who's signed up using a valid email address? I did a search but didn't see anything of the sort. Thought I'd post here in case I'm missing something because I'm not searching the right terms. Again, I want to replace the "pay for access" my website currently uses for something that uses validated email as the signup mechanic. The idea is that users who sign up must "click to validate" their email address, and that allows them to "join site and get access to content". Any existing tools of this sort?
  3. I have a blog site that uses Processwire (among a few PW sites), but it was developed by my late friend, so I don't know of he used any special PW features to make it more "bloggy". I think he did, and I recall there was a blog-based theme or something, but I don't remember. Anyway... for the blog I'm considering adding a discussion forum to try and grow that as part of the brand. Is there a PW discussion forum tool? I know there are tools like phpBB, but before I look into that, I'd like to keep it in PW, if there is such a tool and IMPORTANTLY if it's secure.
  4. With help from Elabx, I'm now able to see it again on FF. The HTTP was being redirected to HTTPS so it was failing to load. Problem solved.
  5. Okay... well, this is interesting. I tried opening it up in another browser and it worked. Brave rejected it, but Firefox opened it.
  6. Update, I found the logs files in my MAMP folder. Nothing in the PHP log, but the apache log has a few things. [Sat Mar 27 09:30:19 2021] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sat Mar 27 09:30:20 2021] [warn] pid file C:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sat Mar 27 09:30:20 2021] [notice] Digest: generating secret for digest authentication ... [Sat Mar 27 09:30:20 2021] [notice] Digest: done [Sat Mar 27 09:30:21 2021] [notice] Apache/2.2.31 (Win32) DAV/2 mod_ssl/2.2.31 OpenSSL/1.0.2e mod_fcgid/2.3.9 mod_wsgi/3.4 Python/2.7.6 PHP/7.0.13 mod_perl/2.0.8 Perl/v5.16.3 configured -- resuming normal operations [Sat Mar 27 09:30:21 2021] [notice] Server built: May 6 2016 10:19:53 [Sat Mar 27 09:30:21 2021] [notice] Parent: Created child process 18520 [Sat Mar 27 09:30:21 2021] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sat Mar 27 09:30:22 2021] [notice] Digest: generating secret for digest authentication ... [Sat Mar 27 09:30:22 2021] [notice] Digest: done [Sat Mar 27 09:30:23 2021] [notice] Child 18520: Child process is running [Sat Mar 27 09:30:23 2021] [notice] Child 18520: Acquired the start mutex. [Sat Mar 27 09:30:23 2021] [notice] Child 18520: Starting 64 worker threads. [Sat Mar 27 09:30:23 2021] [notice] Child 18520: Starting thread to listen on port 80. [Sat Mar 27 09:30:33 2021] [error] [client 127.0.0.1] File does not exist: C:/MAMP/htdocs/docs-assets, referer: http://localhost/MAMP/
  7. swapped out the htaccess - no luck. Sorry if this is an amateur question, but where would I locate the PH)P error logs in my local? Usually Anthony looked at those, so I never located them myself.
  8. Hi, and thank you both. My local environment is MAMP on Windows 10 PHPMyAdmin version: 4.4.15.5 Web server Apache/2.2.31 (Win32) DAV/2 mod_ssl/2.2.31 OpenSSL/1.0.2e mod_fcgid/2.3.9 mod_wsgi/3.4 Python/2.7.6 PHP/7.0.13 mod_perl/2.0.8 Perl/v5.16.3 Database client version: libmysql - 5.6.34 PHP extension: mysqli PHP version: 7.0.13 My method was to take a copy of the database, download the relevant PW site from my host and create a new database with the live DB imported. I opened the config.php and changed the DB location, user and password to match those of my local environment and made sure 'localhost' was included in the array of URLs for the site. When I visit the site via locahost, the error indicated that the connection was refused by localhost. I tested my other local PW sites and they fire fine. I also went as far to do a clean installation of PW, and connect to the database, replacing the tabs and columns of the install to those of the new DB. The clean version of PW loaded fine in the browser, but not after connecting to the database.
  9. Okay, so, this is the pickle I'm in: My friend, business partner and development teacher - also a member of this community - passed away last year (not of COVID). I'm not sure what his PW handle was but his name was Anthony Taylor. I know a lot now about PHP, HTML and CSS because of him, and for that reason, I feel like I owe it to him to learn and maintain the sites he's built with me. My dilemma is that the site exists and is online, doing it's thing. But, I can't make a local copy work. I've compared the config.php to other sites I have in my local, but this one is more robust due to the nature of the site and it's features. I can't diagnose why it won't fire on localhost. And to make matters more difficult, he was the only person I knew and know with PW experience. No one here knows me or has any reason to help me. 2020 took a hit out of my bank account as well, so I can't even hire someone. What I'm asking I guess, is anyone out there willing to spend a little time looking at the code to see if there's something obvious to a knowledgeable person, or if it needs further effort. I can pay for time, but it might take a few installments. Anyway, I'll also mention a suitability warning: the site is adult-themed. Not illegal or something dark, it's a legit site with affiliations and a fanbase. I'd just want someone to know that before even responding. Let me know if there's anyone willing to give me a hand getting past this pot-hole.
  10. So, if I try to make more than one or two edits to content inside the admin, I get a red screen with this error (I swapped the actual local path for domain, just for clarity). This happens when I'm changing page content, not logging in or out.: Error: Exception: Please wait at least 15 seconds before attempting another login. (in C:\MAMP\htdocs\domain\wire\modules\Session\SessionLoginThrottle\SessionLoginThrottle.module line 97) #0 C:\MAMP\htdocs\domain\wire\modules\Session\SessionLoginThrottle\SessionLoginThrottle.module(65): ProcessWire\SessionLoginThrottle->allowLogin('admin') #1 C:\MAMP\htdocs\domain\wire\core\WireHooks.php(792): ProcessWire\SessionLoginThrottle->sessionAllowLogin(Object(ProcessWire\HookEvent)) #2 C:\MAMP\htdocs\domain\wire\core\Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Session), 'allowLogin', Array) #3 C:\MAMP\htdocs\domain\wire\core\Session.php(758): ProcessWire\Wire->__call('allowLogin', Array) #4 C:\MAMP\htdocs\domain\wire\core\Wire.php(389): ProcessWire\Session->___login('admin', '', true) #5 C:\MAMP\htdocs\domain\wire\core\WireHooks.php(698): ProcessWire\Wire->_callMethod('___login', Array) #6 C:\MAMP\htdocs\domain\wire\core\Wire.php(442): ProcessWire\WireHooks->run This error message was shown because: you are logged in as a Superuser. Error has been logged.
  11. DAMN - copy, paste,typing error. That got it. Thanks again!
  12. Here's one of the includes code. This is the whole code inside the includes file. <section> <hr/> <h4 class='caps' style='font-style:italic;'>Featured Collections</h4> <div class="home-features"> <?php $allFeatures = $pages->find('template=feature-page,sort=random'); $counter=0; ?> <?php foreach($allFeatures as $feature): ?> <?php $counter++; ?> <div class="home-feature"> <a href="<?= $feature->url ?>"> <img src="<?= $feature->images->first()->url ?>" /> </a> <p><?= $feature->title ?></p> </div> <?php if ($counter >= 5) break; ?> <?php endforeach ?> </div> <a class="seeall" href="<?= $config->urls->root ?>features">See All the Features ></a> </section>
  13. Yes, I caught that and and corrected it when I tried it, but it didn't work in any case.
×
×
  • Create New...