We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Problem, Field-Types

can't find this file ....

Drew McLellan

Drew McLellan 2638 points
Perch Support

You should speak to your server admin - they'll be able to point you to how to change those settings.

I am my own server admin. can you give me the exact path in perch file system so where to change the value.

Drew McLellan

Drew McLellan 2638 points
Perch Support

It's not a Perch file, it's your server's PHP configuration file. The path to it will depend on the way you've configured the server.

PERCH INFORMATION

Perch: 2.8.31
Production mode: Production (100)
Installed apps: content (2.8.31), assets (2.8.31), categories (2.8.31), perch_blog (5.0), perch_forms (1.8.3), perch_members (1.5)
DB driver: PDO
DB tables: perch2_blog_authors (1), perch2_blog_comments (0), perch2_blog_index (537), perch2_blog_posts (8), perch2_blog_posts_to_tags (20), perch2_blog_sections (1), perch2_blog_tags (20), perch2_blogs (1), perch2_categories (4), perch2_category_counts (4), perch2_category_sets (1), perch2_content_index (285), perch2_content_items (74), perch2_content_regions (12), perch2_forms (0), perch2_forms_responses (0), perch2_members (2), perch2_members_forms (0), perch2_members_member_tags (0), perch2_members_sessions (0), perch2_members_tags (0), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (3), perch2_resource_log (55), perch2_resource_tags (0), perch2_resources (41), perch2_resources_to_tags (0), perch2_settings (24), perch2_user_passwords (0), perch2_user_privileges (38), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (1)
Users: 1
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_blog',
        'perch_members',
        'perch_forms',
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: markitup
H1: c4606f6162ceb9924a06136127a0956e
L1: 6db150a05091689163f1c896bcf95248
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.31: done
latest_version: 2.8.15
on_sale_version: 2.8.31
perch_blog_update: 5.0.1
perch_blog_post_url: /blog/post.php?s={postSlug}
headerScheme: light
perch_blog_site_name:
perch_blog_akismet_key: 0738bbb26601
perch_blog_max_spam_days: 7
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_comment_notify: 0
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_members_update: 1.4
perch_members_login_page: /members/login.php?r={returnURL}
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: root
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: perch_db
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: Dan@10ofthose.com
PERCH_EMAIL_FROM_NAME: Daniel Rackham
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/html/perch
PERCH_CORE: /var/www/html/perch/core
PERCH_RESFILEPATH: /var/www/html/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_YOUTUBE_API_KEY: AIzaSyAhyau8dhsIg7gj1igwjtGGqoKF2PFj9DU
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_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /var/www/html/perch/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_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
HOSTING SETTINGS

PHP: 5.3.3
Zend: 2.3.0
OS: Linux
SAPI: apache2handler
Safe mode: not detected
MySQL client: 5.1.73
MySQL server: 5.1.73
Free disk space: 23.35 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, Reflection, session, standard, shmop, SimpleXML, sockets, exif, tokenizer, xml, apache2handler, curl, dom, fileinfo, gd, json, memcache, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, pspell, snmp, sqlite3, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip
GD: Yes
ImageMagick: No
PHP max upload size: 2M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 2M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
HTTP_HOST: gochattervideos.com
HTTP_CONNECTION: keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_REFERER: http://gochattervideos.com/perch/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_COOKIE: cmsa=1; p_m=; PHPSESSID=47e56abfe5f4b69fd8e167eb1452e237
PATH: /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE: <address>Apache/2.2.15 (CentOS) Server at gochattervideos.com Port 80</address>
SERVER_SOFTWARE: Apache/2.2.15 (CentOS)
SERVER_NAME: gochattervideos.com
SERVER_ADDR: 62.100.206.214
SERVER_PORT: 80
REMOTE_ADDR: 86.156.229.98
DOCUMENT_ROOT: /var/www/html
SERVER_ADMIN: root@localhost
SCRIPT_FILENAME: /var/www/html/perch/core/settings/diagnostics/index.php
REMOTE_PORT: 49623
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME: 1475890444
argc: 1

I'm having trouble with this so thought provide the diagnostics to see if might get more insight, Due to the natural of the site it had to be on a VPS hosting and this a new challenge to me as never used web min before.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Perch support is limited to Perch itself, we can't support your hosting. If you are unfamiliar with this type of hosting you are going to need to ask the person supplying you with your VPS.

Does the diagnostics support that it is the hosting that stopping the file from uploading ?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

You can see in the details that your max upload size is 2M, this is very low. As Dew has already explained you need to change that however this is unrelated to anything that Perch can setup for you.

I have increased the download limit however perch still says that the limit is 2M ....

Drew McLellan

Drew McLellan 2638 points
Perch Support

What have you increased it to? Did you restart the server?

need some help with this, Im using a VPS hosting service. I have updated the upload size to 102400M I have restarted Apache But perch still says only 2M

I find the fix for this.

Drew McLellan

Drew McLellan 2638 points
Perch Support

What does phpinfo() say?

Where or what is that ?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Put this in an empty PHP page:

<?php
phpinfo();

upload_max_filesize is still showing as 2M on there, so your change has not taken effect on the server

but not sure what else to try on the server. I'm new to using VPS, using VPS because of what to create download link on the website.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

You need to contact your host about this, we can't support your hosting.

right my hosting has solved the problem however the total max is still low ....

GD: Yes
ImageMagick: No
PHP max upload size: 10000M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 8M
Resource folder writeable: Yes