Jump to content

Search the Community

Showing results for tags 'Error'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. I have made the following module that automatically grabs images from Youtube and Vimeo URLs and adds them to an image field ('article_visual_snippet'). public function init() { $this->pages->addHookBefore('save', $this, 'getvideoimage'); } public function getvideoimage($event) { $page = $event->arguments[0]; $url = $page->article_snippet_video; if ($page->parent_id == 1023) { if (strpos($url, 'youtube') > 0) { parse_str( parse_url( $url, PHP_URL_QUERY ), $id ); $ytURL = 'http://img.youtube.com/vi/' . $id['v'] . '/maxresdefault.jpg'; if($page->article_visual_snippet->count() < 1){ $page->of(false); $page->article_visual_snippet = 'http://img.youtube.com/vi/' . $id['v'] . '/maxresdefault.jpg'; $page->save(); } } if (strpos($url, 'vimeo') > 0) { $id = substr( parse_url( $url, PHP_URL_PATH ), $id ); if($page->article_visual_snippet->count() < 1){ $page->of(false); $response = file_get_contents("https://vimeo.com/api/oembed.json?url=https%3A//vimeo.com$id"); $jsonobj = json_decode($response); $page->article_visual_snippet = $jsonobj->thumbnail_url; $page->save(); } } } } } It's all working perfectly but for one slight problem. The image field ('article_visual_snippet') is a required field and when the page is saved I get 'Missing required value' error even though the image has successfully uploaded to the field. Does anyone know how I can circumvent this error?
  2. Hi everyone! Although I've set up a couple of sites using Processwire now, I still run into typical 'Getting Started' errors - and I figured this is yet another one... On the previous site I built (locally and on a server) I had no problems with modules (downloaded them, placed them in the folder, installed, worked) but this time around two of the modules I want to use are not working. I'm using a textarea with Markdown (Parsedown Extra to be more precise - which works fine), but on the same textarea fields I want to use both the TextFormatterVideoEmbed (for YouTube & Vimeo) and the ImageTags (for embedding from the images field on the same page) Current situation for: VideoEmbed – Link is shown as link. ImageTags - Throws the following error Notice: Array to string conversion in ../site/modules/ImageTags/TextformatterImageTags.module on line 20 Should I use a different version of Markdown? (Haven't tried that - just realised it while typing this post...) I have the feeling I might be overlooking something really obvious, but I can't put my finger on it. Suggestions? Tips? Cheers!
  3. Hello All, I have an issue editing certain pages with specific templates. I noticed this issue after migrating from MAMP to a production server. Not sure if there's a relation there but just had to mention it. 'Error: Call to undefined method DirectoryIterator::getExtension() (line 104 of /var/www/vhosts/.../httpdocs/wire/core/Pageimages.php) This error message was shown because you are logged in as a Superuser. Error has been logged.' When line 104 in Pageimages.php is commented out i'm able to edit the pages successfully. Any help or information will be appreciated. PW Version 2.5.25 DEV
  4. Hello everyone! I have a strange problem in my Processwire 2.7.2 backend. When I try to logout, using the link on the bottom right, I get the following error: «Unrecognized path» and «The process returned no content.» The url in the browser is « http://mysite.ch/processwire/login/logout/ » Everything else works normal. Any ideas? Thanks a lot, tron1000
  5. Hello, thanks for the help the other day. I continued to configure/code my page like I want it. Now i was going to add comments. I installed the Comments Manager Module under "processwire/module/edit?name=ProcessCommentsManager". It got installed and I can see the menuoption under "setup", called: Comments. Problem: It does not matter what link I press. Everyone shows the following error. Even uninstalling shows this error. Page: /processwire/setup/comments/ Error: Fatal error: Class 'Comment' not found in /var/www/testsite/wire/modules/Process/ProcessCommentsManager/ProcessCommentsManager.module on line 80 I am using Processwire 2.7.2. Is anyone here who can help me sorting this problem out? Best regards EDIT: I just realized that this might be the wrong section of the forum. If so, please move this thread. Thanks!
  6. HELLO! I'm using $user->isLoggedin() three times on one template (in the head.inc, template-page.php and foot.inc). I'm using a custom login in my template file: // If they aren't logged in, then show the login form if(!$user->isLoggedin()){ // check for login before outputting markup if($input->post->user && $input->post->pass) { $user = $sanitizer->username($input->post->user); $pass = $input->post->pass; if($session->login($user, $pass)) { // login successful $session->redirect($homepage->url); } else { // login error $session->login_error = 'Login Failed. Please try again, or use the forgot password link below.'; } } if($input->post->user && $input->post->pass) { $login = "<p class='error'>" . $session->login_error . "</p>"; } $login .= "<form action='./' method='post'><div class='login'> <input type='text' id='user' name='user' placeholder='Enter your SP Company Code' /> <input class='hidden' type='password' name='pass' value='' /> <p><input type='submit' class='btn' name='submit' value='Login' /></p> </div></form>"; } // end !logged in Using the correct logins works and everything is cool, but putting the wrong passwords in creates a Internal server error on both the head.inc and foot.inc $user->isLoggedin() functions. I'm probably doing something absurdly stupid here, any ideas? thanks
  7. Hello, I have a site with users that have a custom user template setup on PW 2.7.2 stable. Custom user template is "member" and role for those users also "member". The site has a frontend dashboard where users can edit their profile, events etc. I can login with this user type to the backend fine and the permission settings are all working. When I login to the frontend, I get this error: "Fatal error: Maximum function nesting level of '10000' reached, aborting! in .../wire/core/Wire.php on line 333"; I already raised the xdebug.max_nesting_level from 1000 to 10000. When I set it to 100000, the server disconnects. I can see that the user gets logged in with $session->login($uname, $pass) before the error is thrown. EDIT: When I reload the login page after the error shows with the now logged in user, I get this error: "Fatal error: Maximum function nesting level of '10000' reached, aborting! in /var/www/utgpw/wire/core/Fieldgroup.php on line 61" But a $session->redirect($dashboard->url) seems to cause the error. If I logon with a test user that has role "member" but the regular user template, I don't get the error and get redirected to the dashboard fine. All the code in my dashboard template is working. Actually, the whole login and dashboard logic for the frontend is copied from another site where it has been working fine for over a year now. So I guess the problem is related to how the custom user templates are handled in the core. My setup for the custom user template has also proven to work without issues in 2 other sites. I have spent hours on debugging already and now I'm lost. Any ideas that point to the cause of this would be much appreciated.
  8. Hi everyone, I got a serious problem with the LanguageSupport module. I already found a forum thread regarding the topic, but it doesn't work in my case. https://processwire.com/talk/topic/7207-can%C2%B4t-install-languagesupport/ My problem is, that "ProcessLanguage" can get installed but "LanguageSupport" doesn't. I can uninstall ProcessLanguage via the Module configuration, but that doesn't change anything. I always get this Error: I've found a "Languages" Page under Admin/Setup and deleted it with this code https://processwire.com/talk/topic/7207-can´t-install-languagesupport/?p=69520 I also deleted the LanguageSupport module via FTP from the server and uploaded the newest version of it. The error still occurs. I'm still a beginner and don't know how to deal with it. Please help me! I'm using the Blue-VR Site Profile made by Gayan Virajith, if that information helps. Thanks a lot in advance, Leo
  9. Hello, in a 2.6.22rc1 install I have a page field "workshops" that selects pages via selector "template=workshop,sort=-dat_start,dat_start>=today)". The field is in a template "anmeldungen". When I edit a page with template "anmeldungen". I can choose pages from the page field "workshops". But when I want to save that page, I get an error Page 2188 is not valid for workshop (Page 2188 does not match findPagesSelector: template=workshop,sort=-dat_start,dat_start>=today) But the workshop I am trying to save to the page field is definitely in the date range >=today. Otherwise it wouldn't be listed in the page field select dropdown. The same error is thrown when I change my selector to "template=workshop,sort=-dat_start,dat_start>=2015-11-04". Also saving pages through the API to that field doesn't work. Only if I omit the dat_start>= selector, I can save pages to the page field.
  10. Hi, I've noticed the following entries in my PW error log SQLSTATE[HY000]: General error: could not call class constructor [pageClass=Page, template=] The following is the associated link that is logged as well. http://localhost:8888/processwire/page/list/?id=id&render=render&start=start〈=lang&open=open&mode=mode Any ideas where I can look to get to the bottom of this?
  11. Hi there, I've recently been getting a lot of the following error messages. I can't see anything on the error logs that the ProcessLog Module provides. I thought it could be a problem with the DNS, so i changed it to OpenDNS but to no success. Is there anything else I should check? If it's a plug-in, what can I do to find out which plug-in it is, besides turning each one off one by one? Thanks in advance! ------------------------------------------- P/S XXXXX below is a placeholder for any directories or pages I've been trying to access. ForbiddenYou don't have permission to access /processwire/XXXXX/ on this server.
  12. $blocks = ''; foreach($page->home_blox as $block) { $bgimg = ''; if($block->pg->images->getTag('blockbg')) $bgimg = "<img src='{$block->pg->images->getTag('blockbg')->url}'/>"; $filters = ''; foreach($block->home_filters as $filter) { $filters .= " --{$filter->value}"; } $body = $block->pg->get('summary|body'); $output = <<<EOT <div class="unit-{$block->home_blockwidth}0 element-item{$filters}"> <div class="background">{$bgimg}</div> <div class="overlay"> <header><h2 class="title"><i class="fa fa-clock-o"></i> {$block->pg->title}</h2></header> <div class="inner"> {$body} </div> </div> </div> EOT; $blocks .= $output; } echo $blocks; I have tags enabled on the image field, so why am I getting this error?
  13. I'm just having some trouble with my main menu, it's started happening all of a sudden across a few of my processwire sites (completely separate). I'm using MarkupSimpleNavigation to generate the menu. But when i look at the menu the Home (id 1) goes into the second position in the menu rather than the first. But when i login and check again, it's back to normal. The tree structure obviously has Home as the root. <?php $topMenu = $pages->find('id=1|1018|1026|1019|1020|1021|1023, sort=sort'); ?> <?php $treeMenu = $modules->get('MarkupSimpleNavigation'); $currentRoot = $page->rootParent(); echo $treeMenu->render( array('max_levels'=>1, 'parent_class'=>'parent', 'current_class' => 'current'), null, $topMenu ); ?> This is the code i'm using to generate the menu. Any help on this would be great. Thanks
  14. Good morning. I'm having a problem with my big PW site. It stopped responding less than an hour ago (except for the 500 Internal Error message). Here is what the error log says: 2014-03-17 13:07:50 ? https://wwwudev.cac.washington.edu/?/ Error: Exception: SQLSTATE[HY000]: General error: 1194 Table 'modules' is marked as crashed and should be repaired (in /nfs/bronfs/uwfs/info/wwwudev/world/uaa/advising/wire/core/Modules.php line 251) 2014-03-17 13:13:30 ? https://wwwudev.cac.washington.edu/?/ Error: Exception: SQLSTATE[HY000]: General error: 1194 Table 'fields' is marked as crashed and should be repaired (in /nfs/bronfs/uwfs/info/wwwudev/world/uaa/advising/wire/core/WireSaveableItems.php line 141) 2014-03-17 13:19:02 ? https://wwwudev.cac.washington.edu/?/ Error: Call to a member function has() on a non-object (line 36 of /nfs/bronfs/uwfs/info/wwwudev/world/uaa/advising/wire/core/Users.php) I repaired the modules and fields table but now I'm getting the last error and I don't know what is happening. The site is on a shared server; I checked to make sure I have lots of disk space. I don't know what could have changed this morning; my next step is to ask our network technicians.
  15. From a fresh installation of PW2.5 with a profile that I made I get the following error when trying to access the 404 page. Error: Exception: Table 'perfects_db.ProcessRedirects' doesn't exist (in /home/perfectserviceso/public_html/wire/core/Database.php line 114) #0 [internal function]: Database->query('SELECT id, redi...') #1 /home/perfectserviceso/public_html/wire/core/DatabaseMysqli.php(35): call_user_func_array(Array, Array) #2 /home/perfectserviceso/public_html/site/modules/ProcessRedirects/ProcessRedirects.module(261): DatabaseMysqli->__call('query', Array) #3 /home/perfectserviceso/public_html/site/modules/ProcessRedirects/ProcessRedirects.module(261): DatabaseMysqli->query('SELECT id, redi...') #4 /home/perfectserviceso/public_html/wire/core/Wire.php(411): ProcessRedirects->checkRedirects(Object(HookEvent)) #5 /home/perfectserviceso/public_html/wire/core/Wire.php(344): Wire->runHooks('pageNotFound', Array) #6 /home/perfectserviceso/public_html/wire/modules/Process/ProcessPageView.module(179): Wire->__call('pageNotFound', Array) #7 /home/perfectserviceso/public_html/wire/modules/Process/ProcessPageView.module(179): ProcessPageVi This error message was shown because you are logged in as a Superuser. Error has been logged. Can anyone see if something is missing here?
  16. Hello. I've just installed clean ProcessWire 2.5.25 dev When i'm trying to install LanguageSupport i get this error: No module specified Module Install - Installed ProcessLanguage Created fieldgroup: language (107) Created field: language_files_site Created field: language_files Created Template: language Created Default Language Page: /pwadmin/setup/languages/default/ Installed ProcessLanguageTranslator Created Language Translator Page: /pwadmin/setup/language-translator/ Created Langage Field: language Unable to install module 'LanguageSupport': Unable to find ID for Module 'ProcessProfile' Failed module dependency: ProcessLanguage requires LanguageSupport Failed module dependency: ProcessLanguageTranslator requires LanguageSupport Why it happened? How should I install LanguageSupport?
  17. Hello Everyone! I have a page set up (Projects Page) on a site with a repeater field. Many items have been inserted in this page (projects). Suddenly the page can't be edited anymore, meaning, whenever i hit the "Save" button it will redirect me to the same page with no modifications, it's not possible to edit, delete or add any more items in any of the fields in the repeater on this specific page, all other pages are working normally. Help please!!!! Thank you! Julian
  18. Dear community, I discovered an annoying and unpleasant circumstance....http://www.newmarketnhhistoricalsociety.org/ In the evenings (Eastern time), probably due to the sluggish server both front and admin pages load incompletely. On the front end the footer often fails to load, and on the admin end pages often come up without "Save" button. It is really frustrating because I have to reload the page, some times many time until I get the whole page with "Save" button What will be even more frustrating is when the customer will ask me about this!! Never saw this on my local machine so I just assume its the server, but it would be better I guess if it took longer to load but the page would arrive complete eventually. I also don't think I ever saw this until upgrading Processwire a week ago, but I only do updates once a year Please help with your advice, is there anything I can do on my end? Thank you, Svet
  19. Hello all, on a new project I want to use https://github.com/stevenrskelton/flag-icon which implements svg icons for country flags via webcomponents import. In the <head> I import the webcomponents polyfill js and the flag icons html with <script src="<?php echo $config->urls->templates; ?>bower_components/webcomponentsjs/webcomponents.min.js"></script> <link rel="import" href="<?php echo $config->urls->templates; ?>bower_components/flag-icon/flag-icon.html"> But I get a 403 error: NetworkError: 403 Forbidden - http://dev/pwtest/site/templates/bower_components/flag-icon/flag-icon.html For testing I did: 1. a clean install of html5-boilerplate (not in PW), added flag-icons through bower and linked the resources as above. Here I don't get the 403 error. 2. a clean install of processwire with the blank profile, added flag-icon through bower and linked the resources as above. And here I get the error again. I did this on 2 different servers. Same result. I also checked permission of the import file and they are fine (644). Then I tried to make a demo install on lightning.pw but the service exits with "We're sorry, but something went wrong." To me this seems to be a ProcessWire related problem. Maybe somebody can confirm this or has an idea what is happening? Thank you.
  20. Hi there, I have recently transferred my Processwire to a different host. I have created a database and imported to the new host server and have transferred all the files Processwire. I have also created a database user and updated the config.php file with the necessary information and I am getting the following error in debug mode: Fatal error: Exception: DB connect error 1045 - Access denied for user 'admin'@'192.249.113.81' (using password: YES) (in /home/admin/public_html/wire/core/ProcessWire.php line 96) #0 /home/admin/public_html/wire/core/ProcessWire.php(45): ProcessWire->load(Object(Config)) #1 /home/admin/public_html/index.php(183): ProcessWire->__construct(Object(Config)) #2 {main} in/home/admin/public_html/index.php on line 214 This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged. Any clues of what is happening? Can anyone please help me? Thanks
  21. Hi folks, I have a simple Page field setup to act as a tag system. This has worked for me, but for some reason it's not working now and I can't find out why. I can select previously added 'Pages' here, but cannot add new ones (comes up with a little warning symbol (see attached)). Any way I can check through to see what I have changed to affect this? Debug mode? What should I be looking for? I have tried to test it alongside another project with a similar setup that still works but all seems to be the same? Thanks guys, R
  22. Hello, I installed PW on my MacBook succesful (MAMP-server). Now I installed on a server in a subdomein (pw.market-locator.com). The install-procedure has no problems. I can login and edit pages, but when install a module, it gives a Internal Server Error (see attachment) Follow the troubleshooting guide https://processwire.com/docs/tutorials/troubleshooting-guide/ with no succes My (shared) hosting: https://www.antagonist.nl/ PHPinfo: http://phpinfo.antagonist.nl/ I try also another subdir: market-locator.com/pw/ but the same problem. Who can help me resolve the error?? Christophe
  23. Switching fields like PageTitle to PageTitleLanguage gives errors like: Error: Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_title.data1011' in 'field list' (in /Users/xxx/Sites/xxx/www/wire/core/DatabaseQuery.php line 86) Both admin and frond-end gives this error. Installed (core) modules: Languages Support (1.0.1) Languages Support - Fields (1.0.0) Languages Support - Page Names (0.0.8) Languages Support - Tabs (1.0.8) ProcessWire: 2.3.9 (clean install with the latest dev branch - 0bb84e0d9fdd973376e5bbaaa1e1e4cf4fcc8c5c) PHP version: 5.4.17 MySQL version: 5.6.14 When I try the same files on another MySQL version 5.1.54 the changing works fine. Does anyone knows if this is MySQL related and how to fix this? Thanks!
  24. Hello Everyone! I was trying to upload images into a page, and it gave me the "Is not a recognized image" error. Now every time i try to go into the page to edit it, it takes me to a screen where the page editor is missing and the error is showing on the top. I am attaching an image of the error. Any ideas?? THANKS!! Julian
  25. Hi, on a client website I've enabled error notification and sometimes I receive such mails with this message: Page: http://www.domain.com/?/ User: ? Error: Exception: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 (in /kunden/bla/wire/core/ProcessWire.php line 143) What does this mean? Is this normal? Or a kind of hacking attempt? Anything I can do to prevent this? Or just ignore it? ... Thanks Jan
×
×
  • Create New...