Forum
Pages not being created.
I've installed perch under a domain reference prior to the domain being transferred (I'm not sure if this is relevant). When I create a page everything looks to be OK except that the page isn't being created on the server so when you view page you get a 404 error. (URL is correctly formed)
Perch: 2.8.8
Production mode: Production (100)
Installed apps: content (2.8.8), assets (2.8.8), categories (2.8.8), perch_forms (1.8.3), perch_gallery (2.8.6), perch_mailchimp (2.0.1), perch_blog (4.6), perch_newsfeed (1), perch_comments (1.1), perch_members (1.2), perch_backup (1.2), perch_twitter (3.5.1)
DB driver: PDO
DB tables: perch2_blog_authors, perch2_blog_comments, perch2_blog_index, perch2_blog_posts, perch2_blog_posts_to_tags, perch2_blog_sections, perch2_blog_tags, perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_gallery_albums, perch2_gallery_image_versions, perch2_gallery_images, perch2_mailchimp_campaigns, perch2_mailchimp_history, perch2_mailchimp_log, perch2_mailchimp_stats, perch2_mailchimp_subscribers, perch2_navigation, perch2_navigation_pages, perch2_newsfeed, perch2_page_templates, perch2_pages, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_twitter_scheduled_tweets, perch2_twitter_settings, perch2_twitter_tweets, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 1
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
'perch_blog',
'perch_comments',
'perch_forms',
'perch_mailchimp',
'perch_members',
'perch_twitter',
'perch_newsfeed',
);
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Scheduled tasks for perch_mailchimp: update_list_stats (60 mins)
Scheduled tasks for perch_twitter: post_tweets (1 mins)
Scheduled tasks for perch_newsfeed: update_news (1440 mins)
Editor plug-ins: ckeditor, redactor, markitup
H1: b1550beae8b8818c206e329640007e35
L1: e1c252c3a4472f148eba51660f761193
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
hideBranding: 1
content_collapseList: 1
lang: en-gb-alt
update_2.8.8: done
on_sale_version: 2.8.8
headerScheme: light
dashboard: 1
content_hideNonEditableRegions: 0
content_frontend_edit: 1
hide_pwd_reset: 0
perch_blog_update: 5.0
perch_blog_post_url: /blog/post.php?s={postSlug}
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_members_login_page: /members/login.php?r={returnURL}
perch_mailchimp_list_id: a5132b78a9
perch_mailchimp_campaign_url: /mailchimp/campaign.php?s={campaignSlug}
perch_backup_mysqldump_path:
perch_gallery_bucket_mode: dynamic
perch_gallery_bucket: default
perch_comments_akismet_key:
perch_blog_comment_notify: 0
perch_gallery_basicUpload: 0
perch_gallery_update: 2.8.5
logoPath: /raptureandwright.co.uk/admin/resources/1434447759_logo-RW.svg
latest_version: 2.8.8
perch_twitter_update: 3.5
perch_mailchimp_api_key: d14886cc8f69d57462b8d13ccb0572d6-us4
perch_mailchimp_secret: f3de18ae527b85c57ed774a9ee89f1e5
perch_mailchimp_update: 2.0
siteURL: https://79.170.40.178/raptureandwright.co.uk
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: cl18-perch-3op
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: cl18-perch-3op
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Europe/London
PERCH_EMAIL_FROM: nick@loatdavies.com
PERCH_EMAIL_FROM_NAME: Nick Loat
PERCH_LOGINPATH: /raptureandwright.co.uk/admin
PERCH_PATH: /home/sites/raptureandwright.co.uk/public_html/admin
PERCH_CORE: /home/sites/raptureandwright.co.uk/public_html/admin/core
PERCH_RESFILEPATH: /home/sites/raptureandwright.co.uk/public_html/admin/resources
PERCH_RESPATH: /raptureandwright.co.uk/admin/resources
PERCH_HTML5: 1
PERCH_SCHEDULE_SECRET: Junkanoo
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/sites/raptureandwright.co.uk/public_html/admin/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
Hosting settings
PHP: 5.5.20
Zend: 2.5.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $
MySQL server: 5.5.35
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, sockets, mbstring, tokenizer, xml, cgi-fcgi, bcmath, curl, dom, enchant, fileinfo, gd, imap, intl, json, ldap, exif, mcrypt, mssql, mysqlnd, mysql, mysqli, odbc, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, recode, soap, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, ionCube Loader
GD: Yes
ImageMagick: No
PHP max upload size: 64M
PHP max form post size: 64M
PHP memory limit: 128M
Total max uploadable file size: 64M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
PATH: /usr/local/bin:/usr/bin:/bin
UNIQUE_ID: VYp4mn8AAAEAADhCWc0AAABE
HTTP_HOST: 79.170.40.178
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:40.0) Gecko/20100101 Firefox/40.0
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_DNT: 1
HTTP_REFERER: https://79.170.40.178/raptureandwright.co.uk/admin/core/settings/diagnostics/
HTTP_COOKIE: PHPSESSID=ev6a0vpm7vu9e6lg2cgbo3puj4; cmsa=1
HTTP_CONNECTION: close
SERVER_SOFTWARE: Apache/2.4.10 (Unix)
SERVER_NAME: 79.170.40.178
SERVER_ADDR: 10.0.1.178
SERVER_PORT: 80
REMOTE_ADDR: 92.23.31.115
DOCUMENT_ROOT: /var/www/html
REQUEST_SCHEME: http
CONTEXT_DOCUMENT_ROOT: /var/www/html
SERVER_ADMIN: webmaster@extendcp.co.uk
SCRIPT_FILENAME: /home/sites/raptureandwright.co.uk/public_html/admin/core/settings/diagnostics/index.php
REMOTE_PORT: 36992
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /raptureandwright.co.uk/admin/core/settings/diagnostics/?extended
SCRIPT_NAME: /raptureandwright.co.uk/admin/core/settings/diagnostics/index.php
PHP_SELF: /raptureandwright.co.uk/admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1435138202.3943
REQUEST_TIME: 1435138202
If you turn on debug, do you see any error messages when this happens?
Nothing.
Is there anything in your server error log?
nothing in the error log.
the following in the access log.
raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:55:51 +0100] "GET https://raptureandwright.co.uk/ftpZmq5JD.cgi HTTP/1.1" 200 13 "-" "JustAnInstaller/0.1" raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:55:55 +0100] "GET https://raptureandwright.co.uk/ftpzyi8NF.cgi HTTP/1.1" 200 173 "-" "JustAnInstaller/0.1" raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:56:08 +0100] "GET https://raptureandwright.co.uk/ftpn8BArK.cgi HTTP/1.1" 200 334 "-" "JustAnInstaller/0.1" raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:56:11 +0100] "GET https://raptureandwright.co.uk/ftpNXBG52.cgi HTTP/1.1" 200 495 "-" "JustAnInstaller/0.1" raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:56:12 +0100] "GET https://raptureandwright.co.uk/ftpA5WKEg.cgi HTTP/1.1" 200 656 "-" "JustAnInstaller/0.1" raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:56:13 +0100] "GET https://raptureandwright.co.uk/ftpRUKnkU.cgi HTTP/1.1" 200 817 "-" "JustAnInstaller/0.1" raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:56:53 +0100] "GET https://raptureandwright.co.uk/ftpOvjfyK.cgi HTTP/1.1" 200 978 "-" "JustAnInstaller/0.1" raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:56:56 +0100] "GET https://raptureandwright.co.uk/ftpYcD3ZV.cgi HTTP/1.1" 200 1139 "-" "JustAnInstaller/0.1" raptureandwright.co.uk 79.170.44.6 - - [24/Jun/2015:17:56:57 +0100] "GET https://raptureandwright.co.uk/ftplBRuNF.cgi HTTP/1.1" 200 1301 "-" "JustAnInstaller/0.1"
Are the pages being created in the wrong place or not at all?
They don't appear to be being created at all.
Was this working in your dev environment? Or are you developing live on a server?
Its on the live server but operating under a domain reference. I can try setting it up on a development server if that would help.
It might be worth a try, as I'm running out of options.
Hi Drew,
I did a quick test this morning and installed a fresh version of perch on the server under a domain reference (ip address/domain) and also on to sub domain of a development server.
Under the domain reference perch failed to create the page file. Which is a pitty as all other aspects (of the backend) appear to be working perfectly and would have meant that the site could be made live by simply transferring the domain when ready. It also means I can't test that it is all working properly on the live site until its actually live.
Under the sub domain all appears OK.
IP address/domain means you are essentially developing in a subfolder. This is going to cause you all kinds of issues as you move your site up a level.
I'd point a subdomain at that staging server as your issues are due to moving the path from root. Your staging server should maintain the same paths from root as live to save you having issues when going live.
Thanks Rachel. Will do.