Jump to content

kinderheim511

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by kinderheim511

  1. I found out about ProcessWire by looking for a fast script to open an online comics reader. I've used already built templates and it's most probably the reason I get an error on every change I make. My PHP skills are at the level of copy/pasting code in files. I know I can build the templates myself, but I'd need to spend how many hours on this? I already have two error topics opened, resolved, now I would need to open a third one just because I tried to delete a field and everything crashed. You can see how a normal web owner will have trouble if he decides on ProcessWire. Wordpress has a loading time twice as high, but I will go and use it because it's stable and intuitive and I don't need coding knowledge to use is. Believe me, I am very sad and pissed off ProcessWire isn't working for me, I've enjoyed how simple and fast it is. But I'm on this for 2 weeks and I'm still nowhere. Good luck with your project!
  2. It was a clean install, I just added some modules, can those write inside _func.php? I have no idea what would happen if I removed menuBuilder() so I've just added the renderNav() function in _func.php and the error is gone. Is this ok?
  3. I guess that's the problem, I don't have any renderNav function inside /site/templates/_func.php I did not change any settings, Prepend File is empty and the Disable automatic prepend of file: _init.php is unchecked. I'm attaching the files. _init.php _func.php
  4. This is the entire code in that file, line 12: $content .= renderNav($page->children); <?php namespace ProcessWire; // basic-page.php template file // See README.txt for more information // Primary content is the page's body copy $content = $page->body; // If the page has children, then render navigation to them under the body. // See the _func.php for the renderNav example function. if($page->hasChildren) { $content .= renderNav($page->children); } // if the rootParent (section) page has more than 1 child, then render // section navigation in the sidebar if($page->rootParent->hasChildren > 1) { $sidebar = renderNavTree($page->rootParent, 3) . $page->sidebar; }
  5. I'm just trying to view a page, modal or popup. I can live with this error in the backend, but I'm afraid the underlying problem will manifest in other places also. Fatal error: Uncaught Error: Call to undefined function ProcessWire\renderNav() in /home/amator/reader.romanga.ro/site/templates/basic-page.php:12 Stack trace: #0 /home/amator/reader.romanga.ro/wire/core/TemplateFile.php(287): require() #1 /home/amator/reader.romanga.ro/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #2 /home/amator/reader.romanga.ro/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___render', Array) #3 /home/amator/reader.romanga.ro/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #4 /home/amator/reader.romanga.ro/wire/modules/PageRender.module(536): ProcessWire\Wire->__call('render', Array) #5 /home/amator/reader.romanga.ro/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #6 /home/amator/reader.romanga.ro/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___renderPage', Array) #7 /home/amator/reader.romanga.ro/wire/core/Wire.php(450): ProcessWire\WireHooks->runHoo in /home/amator/reader.romanga.ro/site/templates/basic-page.php on line 12 Fatal Error: Uncaught Error: Call to undefined function ProcessWire\renderNav() in /home/amator/reader.romanga.ro/site/templates/basic-page.php:12 Stack trace: #0 /home/amator/reader.romanga.ro/wire/core/TemplateFile.php(287): require() #1 /home/amator/reader.romanga.ro/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #2 /home/amator/reader.romanga.ro/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___render', Array) #3 /home/amator/reader.romanga.ro/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #4 /home/amator/reader.romanga.ro/wire/modules/PageRender.module(536): ProcessWire\Wire->__call('render', Array) #5 /home/amator/reader.romanga.ro/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #6 /home/amator/reader.romanga.ro/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___renderPage', Array) #7 /home/amator/reader.romanga.ro/wire/core/Wire.php(450): ProcessWire\WireHooks->runHoo (line 12 of /home/amator/reader.romanga.ro/site/templates/basic-page.php) This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged.
  6. Sure http://reader.romanga.ro/ If you scroll you'll notice the entire content is doubled, I just don't have the time to work on this. I'm still looking for other scripts.
  7. It's not ideal that it hasn't been updated in so long, I know, I just haven't found anything better. And it's doubling the content, I have no idea why http://reader.romanga.ro/manga/teasdt/1/5/
  8. I need a manga reader and this is the only one I've found working.
  9. Thank you Sephiroth, from lack of ideas I also installed this online and it seems it's working pretty much as it should, the reader is doubled on page but that must be from the module, I'll go and ask the dev. So the problem was my xampp settings I guess. Thank you again.
  10. First time using processwire, I've installed WireManga and WireMangaTheme, I am not asking from you to fix my errors, I just don't know if the problem is my install or the manga modules, am I wasting my time trying to make this work without programming knowledge? Fatal Error: Uncaught ArgumentCountError: Too few arguments to function ProcessWire\WireManga::chaptersList(), 1 passed in C:\xampp\htdocs\processwire\site\modules\WireMangaTheme\WireMangaTheme.module on line 76 and exactly 3 expected in C:\xampp\htdocs\processwire\site\modules\WireManga\WireManga.module:63 Stack trace: #0 C:\xampp\htdocs\processwire\site\modules\WireMangaTheme\WireMangaTheme.module(76): ProcessWire\WireManga->chaptersList(Object(ProcessWire\Page)) #1 C:\xampp\htdocs\processwire\site\templates\wm_manga_single.php(24): ProcessWire\WireMangaTheme->chapterListMarkup(Object(ProcessWire\Page)) #2 C:\xampp\htdocs\processwire\wire\core\WireCache.php(348): ProcessWire\TemplateFile->ProcessWire\{closure}() #3 C:\xampp\htdocs\processwire\wire\core\WireCache.php(307): ProcessWire\WireCache->renderCacheValue('chapters:1025', '2010-04-08 03:1...', Object(Closure)) #4 C:\xampp\htdocs\processwire\site\templates\wm_manga_single.php(25): ProcessWire\WireCache->get('chapters:1025', '2010-04-08 03:1...', Object(Closure)) #5 (line 63 of C:\xampp\htdocs\processwire\site\modules\WireManga\WireManga.module)
×
×
  • Create New...