Still havent gotten it to work
Posts by bj.lewis221
-
-
But it already works with other alias emails with the exact same settings
-
I checked the spam and its not there, and there dont seem to be any spam filters on it
The weird thing is, is the email is an alias of another
The main email and another alias both work
-
I'm trying to set up a form to send to a certain email address and I can't get the email test settings to send to it. It says it sends successfully but I never receive it. I sent it to like 3 other emails and it works, just not this particular one, but the email works, I can send regular emails to it
Diagnostics
PHP- Perch is up to date
- PHP 7.3.13 is up to date
- MySQL 5.6.41-84.1 is up to date
- Image processing available
- Summary information
- Perch: 3.1.5, PHP: 7.3.13, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $, with PDO
- Server OS: Linux, cgi-fcgi
- Installed apps: content (3.1.5), assets (3.1.5), categories (3.1.5), perch_forms (1.12)
- App runtimes: <?php $apps_list = [ perch_forms, ];
- PERCH_LOGINPATH: /admin
- PERCH_PATH: /home4/twoperc6/public_html/sites/alvaradonotaryplus/admin
- PERCH_CORE: /home4/twoperc6/public_html/sites/alvaradonotaryplus/admin/core
- PERCH_RESFILEPATH: /home4/twoperc6/public_html/sites/alvaradonotaryplus/admin/resources
- Image manipulation: GD Imagick
- PHP limits: Max upload 256M, Max POST 260M, Memory: 256M, Total max file upload: 256M
- F1: 3b606135b33e6a102526838f4152a807
- Resource folder writeable: Yes
- DOCUMENT_ROOT: /home4/twoperc6/public_html/sites/alvaradonotaryplus
- HTTP_HOST: alvaradonotaryplus.com
- REQUEST_URI: /admin/core/settings/diagnostics/
- SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
debug
Code- Debug Message - Perch 3.1.5
- [1]SELECT u.*, r.* FROM perch3_users u, perch3_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='40719fa16afb7364cd32778119dc9746' LIMIT 1
- UPDATE perch3_users SET userHash='9a12b72dc7b80b1c408a5f1395f32ff3' WHERE userID='1'
- [21]SELECT settingID, settingValue, userID FROM perch3_settings WHERE userID=1 OR userID=0 ORDER BY userID ASC
- [7]SELECT itemValue FROM perch3_menu_items WHERE itemType='app'
- [nil]SELECT *, REPLACE(pagePath, '/index.php', '') as sortPath FROM perch3_pages WHERE pageNew=1 ORDER BY LENGTH(sortPath)-LENGTH(REPLACE(sortPath, '/', '')) ASC
- [10]SELECT p.*, (SELECT COUNT(*) FROM perch3_pages WHERE pageParentID=p.pageID) AS subpages FROM perch3_pages p WHERE p.pageParentID IN (0) ORDER BY p.pageTreePosition ASC
- [10]SELECT * FROM perch3_content_regions ORDER BY regionOrder ASC
- [2]SELECT * FROM perch3_content_regions WHERE regionPage='*' ORDER BY regionKey ASC
- [1]SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=0 ORDER BY itemOrder ASC LIMIT 0, 1
- [2]SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=1 ORDER BY mi.itemOrder ASC
- [1]SELECT itemTitle FROM perch3_menu_items WHERE itemType='app' AND itemValue='content' LIMIT 1
- [1]SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=0 ORDER BY itemOrder ASC LIMIT 1, 10
- [2]SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=2 ORDER BY mi.itemOrder ASC
- File: /core/apps/content/modes/list.post.php
- [4]SELECT DISTINCT regionTemplate FROM perch3_content_regions ORDER BY regionTemplate ASC
- [nil]SELECT * FROM perch3_content_regions WHERE pageID=5 AND regionPage!='*' ORDER BY regionOrder ASC
- [nil]SELECT * FROM perch3_content_regions WHERE pageID=13 AND regionPage!='*' ORDER BY regionOrder ASC
- Queries: 17
- Memory: 2.5033
-
I have the two above but they spit out the same thing. I had a suspicion this wouldn't work. But anyone have any ideas what will?
I basically need to reuse the content from one template into another by using the same dropdown from the dataselect to populate everything. -
ah! bless you! thank you! it works beautifully!
-
I am trying to output the number of items with a certain value in a collection
I have tried the below but it repeats the count for as many items as there is
my brand_count.html
result: 212121212121212121212121212121212121212121
-
-
Nothing shows up if I add this
-
ah nope its duplicating them on both now
-
Ok, so it worked on one and I got it to work on another but now its duplicating them again.
Here is my main template
PHP- <perch:content type="text" id="propertybrand" label="Property Brand" required suppress>
- <div class="card [ is-collapsed ] box brand-filter location-filter <perch:content id="propbrandfilter" type="composite" for="propertybrand" format="C:3"> <perch:content id="statefilter" type="composite" for="state" format="C:3" >">
- <div class="card__inner [ js-expander ]">
- <div class="overlay">
- <div class="otext"><perch:content id="propname" type="text" label="Property Name" title="true" required></div>
- </div>
- <img src="<perch:content id="proppic" type="image" label="Property Image" crop="true" width="640" height="480">" width="100%">
- </div>
- <div class="card__expander">
- <i class="fa fa-close [ js-collapser ]" aria-hidden="true"></i>
- <div class="innercard"><img src="<perch:content id="proppic" type="image" label="Property Image" crop="true" width="960" height="640" order="1">" width="100%"></div>
- <div class="innercard intext">
- <div class="intexthead"><h3><perch:content id="propname" type="text" label="Property Name" title="true" required></h3></div>
- <perch:if exists="propaddress"><p><perch:content id="propaddress" type="text" label="Property Address" help="Example: 123 Main St."></perch:if><perch:if exists="propcity">, <perch:content id="propcity" type="text" label="Property City"></perch:if><perch:if exists="state">, <perch:content id="state" type="select" label="State" options="Alabama, Alaska, American Samoa, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, District of Columbia, Florida, Georgia, Guam, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Minor Outlying Islands, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Northern Mariana Islands, Ohio, Oklahoma, Oregon, Pennsylvania, Puerto Rico, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, U.S. Virgin Islands, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin, Wyoming" allowempty="false" required></perch:if><perch:if exists="propzip"> <perch:content id="propzip" type="text" label="Zip Code"></perch:if><perch:if exists="propphone"><br><perch:content id="propphone" type="text" label="Property Phone Number" help="Example: (555) 555-5555"></p></perch:if>
- <perch:if exists="propinfo"><perch:content id="propinfo" type="textarea" label="Property Information" html="true" markdown editor="redactor"></perch:if>
- <perch:if exists="propurl"><div class="intexthead"><a class="button button-primary2" href="<perch:content id="propurl" type="text" label="Property Website URL" >" target="_blank">Visit Website</a></div></perch:if>
- </div>
- </div>
- </div>
- <perch:showall>
here are my templates where it includes the different
This is my .php page
PHP- <div class="section white p100">
- <div class="row">
- <div class="twelve columns center ptb30">
- <button class="btn button button-primary" id="brand-filter">Search by Brand</button>
- <button class="btn button button-primary" id="location-filter">Search by Location</button>
- <div class="brands hidden">
- <?php perch_collection('Portfolio', ['template' => 'brand_filter.html', ]);?>
- </div>
- <div class="locations hidden" >
- <?php perch_collection('Portfolio', ['template' => 'state_filter.html', ]);?>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="twelve columns">
- <div id="cards" class="cards">
- <?php perch_collection('Portfolio'); ?>
- </div>
- </div>
- </div>
- </div>
-
Well it worked for one template but not the other. I did the exact same template just swapped out the ID
-
You could perhaps you the perch if tag, with the different attribute.
This works! Thank you so much!
-
Is there a way to pull only unique items once?
I have a list of properties and each has a "brand" and I want to list those brands without having duplicates show up in the "brand" list that is separate from the properties list/Example I have a list
AA
A
B
C
C
D
D
D
But I want to output A, B, C, D
How would I do that?
Thanks in advance! -
I have my action set to /contact but it still redirects to /contact.php
PHP- <div class="row">
- <div class="six columns">
- <h1><perch:content type="text" id="heading" label="Contact Heading" /></h1>
- <perch:content id="intro" type="textarea" label="Intro" textile editor="redactor" html="true" size="m">
- </div>
- <div class="six columns">
- <perch:form id="contact" method="post" app="perch_forms action="/contact">
- <div class="row">
- <div class="six columns">
- <perch:input class="u-full-width" type="text" placeholder="FIRST NAME" id="first_name">
- </div>
- <div class="six columns">
- <perch:input class="u-full-width" type="text" placeholder="LAST NAME" id="last_name">
- </div>
- </div>
- <div class="row">
- <div class="six columns">
- <perch:input class="u-full-width" type="email" placeholder="EMAIL" id="email">
- </div>
- <div class="six columns">
- <perch:input class="u-full-width" type="text" placeholder="PHONE NUMBER" id="phone">
- </div>
- </div>
- <div class="row">
- <div class="twelve columns">
- <perch:input type="textarea" id="message" required class="u-full-width" placeholder="MESSAGE" label="Message">
- </div>
- </div>
- <perch:input class="button u-full-width" type="submit" value="Submit">
- <perch:success show-form="false">
- <perch:content id="success" type="textarea" label="Thank you message" textile editor="redactor" html="true">
- </perch:success>
- </perch:form>
- </div>
- </div>
This is my .htaccess I have it set to remove .php on normal pages but it just wont go away when the press submit
Code- RewriteEngine On
- RewriteCond %{HTTPS} !=on
- RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- RewriteEngine On
- RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)index\.php($|\ |\?)
- RewriteRule ^ /%1 [R=301,L]
- # Redirect to PHP if it exists.=
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME}.php -f
- RewriteRule ^(.+)$ $1.php [L,QSA]
-
The issue was with login page redirection once I fixed that everything worked beautifully!
-
I am just learning how to build the custom apps and just used the sample app as base I have made several changes, just haven't messed with the names and stuff yet until I get a better hang of it. I have made it work for what I wanted it to do. But essentially each "thing" has a client name on it and in the members area Member A only sees "things" with Member A on the "thing" and also I have a sidebar that displays the members information like their name and company name.
And what sometimes happens is Member A see's Member B's name and other information and also Member B's "things", but if Member A refreshes they will see Member A's stuff again then if they press the "dashboard" button which goes to the members index.php file it will load Member B's info again -
You can't use a custom built app with the members app?
-
No, I will have to set that up and try out of the box members area.
If that works fine do you have any inklings? My first thought is caching but member a has never logged in as any other member and they don’t have a certain tag.
It’s very strange because it will work for me where I only see my member but then member A sees other profiles but member B‘s seem to work fine
-
drewm any advice?