Closed (fixed)
Project:
Pathauto
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Nov 2009 at 11:29 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drupalhook commentedComment #2
dave reidTagging all the bulk alias issues for #713238: RFC: Pathauto Bulk module.
Comment #3
gregglesI suggest reducing the number of nodes to bulkupdate in the "General Settings" area. Try just 1 or 5 or something.
Also, this is possibly an example of #648266: Provokes PHP memory leak with recursive objects.
Also, this usually indicates a server that does not have powerful enough resources. Can you try on a different server or on a dev environment on your laptop/desktop?
Comment #4
dave reidComment #5
drupalhook commentedRewriteEngine on
#==== Static page Url Rewriting Start ========
RewriteRule ^about-us$ about-us.php
RewriteRule ^call-back$ call-back.php
RewriteRule ^feedback$ feedback.php
RewriteRule ^solicitor-registration$ register.php
RewriteRule ^terms-and-conditions$ terms-and-conditions.php
RewriteRule ^privacy-policy$ privacy-policy.php
RewriteRule ^services$ services.php
RewriteRule ^how-to-use$ how-to-use.php
RewriteRule ^contact-us$ contact-us.php
RewriteRule ^sitemap$ sitemap.php
#==== Dynamic page Url Rewriting Start ========
# seo url for sub category page
RewriteRule ^services/([a-z0-9A-Z-]+)/([0-9]+)$ subcategories.php?catid=$2
# seo url for solicitors page
RewriteRule ^services/([a-z0-9A-Z-]+)/([a-z0-9A-Z-]+)/([0-9]+)$ solicitors.php?subcatid=$3
Comment #6
gregglesYou are posting random code samples rather than answering questions.
Comment #7
drupalhook commentedNow let's consider more complicated example. The most popular use of regular expressions is validation. The example below checks if the password is "strong", i.e. the password must be at least 8 characters and must contain at least one lower case letter, one upper case letter and one digit:
The ^ and $ are looking for something at the start and the end of the string. The ".*" combination is used at both the start and the end. As mentioned above, the .(dot) metacharacter means any alphanumeric character, and * metacharacter means "zero or more". Between are groupings in parentheses. The "?=" combination means "the next text must be like this". This construct doesn't capture the text. In this example, instead of specifying the order that things should appear, it's saying that it must appear but we're not worried about the order.
The first grouping is (?=.*{8,}). This checks if there are at least 8 characters in the string. The next grouping (?=.*[0-9]) means "any alphanumeric character can happen zero or more times, then any digit can happen". So this checks if there is at least one number in the string. But since the string isn't captured, that one digit can appear anywhere in the string. The next groupings (?=.*[a-z]) and (?=.*[A-Z]) are looking for the lower case and upper case letter accordingly anywhere in the string.
Finally, we will consider regular expression that validates an email address:
Comment #8
drupalhook commentedhttp://www.webcheatsheet.com/php/regular_expressions.php
Comment #9
dave reidAnd still posting random things. I'm starting to suspect you're possibly a spammer.
Comment #10
drupalhook commentedComment #11
drupalhook commentedComment #12
drupalhook commented