ryanC
Members-
Posts
97 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
ryanC's Achievements
Full Member (4/6)
31
Reputation
-
[SOLVED] Only able to install modules via zip file upload
ryanC replied to ryanC's topic in General Support
Thanks for the link Robin, I will check that out. -
Hi, I have created a new install of Processwire 3.0.98, (local machine) and I am unable to install any modules from within Processwire itself. I go to Modules/Site/Add New/ then under "Module Class Name" I enter the name. The module appears, I hit "Download and Install", but I always get an error. For example: "File could not be downloaded (https://github.com/adrianbj/TracyDebugger/archive/master.zip) 2: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version, 2: fsockopen(): Failed to enable crypto, 2: fsockopen(): unable to connect to ssl://github.com:443 (Unknown error) (tried: curl, fopen, socket)" I have been able to track down some of the modules and just upload the zip file manually, but this is happening with every module that I had previously installed in another installation with no problems. Any ideas? Thanks!
-
[Solved] Navigation breaks on form template after using relative paths
ryanC replied to ryanC's topic in General Support
Thanks for the tip dragan, I'll check that out. -
[Solved] Navigation breaks on form template after using relative paths
ryanC replied to ryanC's topic in General Support
Thanks BitPoet, man I already had it set up that way originally. I don't know why I changed it. My template already had: <?php $myPath = $config->urls->templates;?> at the top, and my links were already "<a href="/site-name/pagename"> So now it works again by reverting. Not sure why I changed it... I guess I just didn't comprehend what that <?php $myPath = $config->urls->templates;?> was doing... means my site name itself can be anything I want. Thanks! -
Hi, I am testing my site on a local machine. I am having an issue with navigation links being broken on my form template after changing the link paths from direct to relative: I have two templates, “main-template” and “form-template”. Those templates include the same header file: <?php include("includes/header.inc.php"); ?> That file contains the site navigation. Originally, the links were direct paths: <a href=“/site-name/pagename”>Page with direct path</a> But I changed them to relative paths: <a href=“../../pagename”>Page with relative path</a> So far, so good. Everything works on the site except the navigation on the form page breaks. Clicking on those links wants to take me back to my root htdocs folder. I think it might have something to do with the form not being able to post to a template file, so it posts to itself instead. I have found a temporary work around, which is create a NEW header include file that only the form template uses. If I give those links shortened relative paths: <a href="../pagename"> It all works, except I now have two unique navigation menus I have to keep track of, when I would rather have just one header file for the entire site. Any ideas on how I can keep the same header file with the main-template and form-template? Thanks!
-
no problem
-
Do I make that change to the "TracyDebugger.module" file on my desktop, or is this in the processwire api itself?
-
Cross post...Ok I hit reload and now I see a bunch of stuff in network. One sec...
-
-
That's the thing, it's not behaving like a link. When I hover over it, I get a tooltip that says it's Tracy, but that's it. My cursor doesn't change like it would if I was hovering over a link, it's just like its inline text. So when I hit inspect element (over the icon) those are the errors in the screenshot from my first post.
-
Hi, I just uninstalled/reinstalled, still just that little icon on the left hand side. -In my Chrome dev area I get network errors, but none appear to be about Tracy. -I don’t know how to check if there are permission issues in the Tracy folder -I went here to download Tracy…https://tracy.nette.org/ and it seems to have the same folders and files that processwire installed. I think yesterday (when it was working) I minimized the panel by clicking the little arrow and I don't remember seeing it after that.
-
Hi Adrian, 1-I just set PW’s debug mode in the config file…I think previously it was set to false, but tracy was working anyway. The other questions I am not sure how to go about solving. I think I will try to uninstall then reinstall Tracy first, if that does not work I will see if I can go over each bullet point. Thanks!
-
Hi, my Tracy Debug bar has gone missing. It was in the lower right hand corner of the screen, but now there is just an icon that doesn't do anything in the lower LEFT hand corner of the screen. Before this I exported my site profile and am working on a new site, though I'm not sure what that would have to do with it. I have looked at all the options on the module settings page and no matter what I choose, nothing happens. I have now just upgraded to version 4.8.23. I'm testing locally on MAMP. Attached are some screenshots of the icon and the errors I get in Chrome. Any ideas? Thanks!
-
Attaching a form uploaded image in an email (solved)
ryanC replied to ryanC's topic in Getting Started
Thanks flydev! I pasted your code into my template, and I got the attachment in the email! I owe you a beer. I've been slowly reading the php documentation on file uploading, to try to understand the theory behind all this stuff, so I can better understand the tips you guys are giving me. Thanks again! -
Attaching a form uploaded image in an email (solved)
ryanC replied to ryanC's topic in Getting Started
Thank you Adrian! I will get started with this.