
Krlos
Members-
Posts
186 -
Joined
-
Last visited
Everything posted by Krlos
-
Hi there, I'm having this error when moving the site from localhost (Mamp pro) to Hosting: Error: Uncaught Error: Call to a member function render() on null in /home/cuadrilatero/webapps/monica/site/templates/inc/menu-inc.php:16 Stack trace: #0 /home/cuadrilatero/webapps/monica/site/templates/inc/header-inc.php(74): include() #1 /home/cuadrilatero/webapps/monica/site/templates/home.php(1): include('/home/cuadrilat...') #2 /home/cuadrilatero/webapps/monica/wire/core/TemplateFile.php(219): require('/home/cuadrilat...') #3 /home/cuadrilatero/webapps/monica/wire/core/Wire.php(347): TemplateFile->___render() #4 /home/cuadrilatero/webapps/monica/wire/core/WireHooks.php(548): Wire->_callMethod('___render', Array) #5 /home/cuadrilatero/webapps/monica/wire/core/Wire.php(370): WireHooks->runHooks(Object(TemplateFile), 'render', Array) #6 /home/cuadrilatero/webapps/monica/wire/modules/PageRender.module(503): Wire->__call('render', Array) #7 /home/cuadrilatero/webapps/monica/wire/core/Wire.php(347): PageRender->___renderPage(Object(HookEvent)) #8 /home/cuadrilatero/webapps/monica/wire/core/WireHooks.php(548): Wire->_ (line 16 of /home/cuadrilatero/webapps/monica/site/templates/inc/menu-inc.php) This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged. I'm developing on Mamp Pro with php 7.0, si working fine on my laptop. (Processwire 2.8) My hosting also have php 7.0 Thanks in advance...
-
Install PW from devel machine to subfolder on shared web hosting
Krlos replied to Krlos's topic in Getting Started
Guys, It was a premissions problem. I ended uploading everything using ftp, and now is working fine. For some reason, when I packed the site using the Mac compress utility the permissions are screwed. Anyway, Thank you Guys for the help. -
Install PW from devel machine to subfolder on shared web hosting
Krlos replied to Krlos's topic in Getting Started
I have all the assets inside the template folder along with te template.php files. I just tried: <?php echo $config->urls->templates; ?>assets/ No luck. The strange thing is that the PW backend is also loading without any assets, I'm gettin a unstiled backend. -
Install PW from devel machine to subfolder on shared web hosting
Krlos replied to Krlos's topic in Getting Started
-
Install PW from devel machine to subfolder on shared web hosting
Krlos replied to Krlos's topic in Getting Started
This is driving me crazy. I created a sub domain: dev.domain.com Uploaded all files, uploaded .htaccess (with no edits, just the working .htaccess from Mampro), edited the config.php to: $config->httpHosts = array('dev.domain.com'); With no success... -
Install PW from devel machine to subfolder on shared web hosting
Krlos replied to Krlos's topic in Getting Started
Sergio, If I put the .htaccess file on the root folder of the webhost (Cpanel by the way) I get no assets If a move the .htaccess file from the root folder to the /devel/ I get no assets and a 403 error on assets files. I also tried to mimic the folder on my Mampro and everything is working fine too. -
Install PW from devel machine to subfolder on shared web hosting
Krlos replied to Krlos's topic in Getting Started
Sergio, I'm using this to call my assets: <link rel="stylesheet" href="<?= $config->urls->templates; ?>assets/plugins/bootstrap/css/bootstrap.min.css"> I need to install in the /devel/ folder. I have changed the .htaccess file to txt Thank you for your help. config.php htaccess.txt -
Install PW from devel machine to subfolder on shared web hosting
Krlos replied to Krlos's topic in Getting Started
Hi Sérgio, I tried the RewriteBase /devel/ But I'm still my assests are failing to load. I can access the backend, but the assests are failing there too. Any clue? -
Hi, I'm pretty sure this has been asked. many times before , but I can not find a solution to my problem, I need to show my friend how his site is going. I'm developing on my Mac usign Mampro, I have published about two other PW sites without problems, always in the root folder Whe I try to install this site to the "devel" folder in my friend's webhost, my assests are not working (css, images), and can't access the backend. The URL should be: www.domain.com/devel on my config.php I have: $config->httpHosts = array('domain.com', 'friends-admin'); I have copied over the .htaccess file Any help will be greatly appreciated
-
Hi, I was testing your module and decided to leave it for later. As recheck this part I will send a report. Thank you.
-
This is awesome!!
-
Hi, I was trying this module, and I get this error: Error: Uncaught Error: Call to a member function getDefault() on null in /Users/krlos/Documents/Sitios/processpdf/site/modules/ProcessSetupPageName/ProcessSetupPageName.module:99 Processwire: 2.7.2 PHP: 7.0.0
- 100 replies
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
Hi, I was trying this module becuase I this is the solution for my needs, I cant not make it work. When I click new page I get the same as adrianmak , Title and name are not autopopulated. I know my ready.php is working fine because I was trying this code from another post and the field was being autopopulated with the generated title: $this->pages->addHookAfter('added', function($event) { $page = $event->arguments[0]; if($page->template != 'your-template-name') return; $page->setAndSave('title', 'my page - ' . date("YmdHis")); }); I'am missing something?
-
Order Form / Inquiry Form within a site; no real shop
Krlos replied to sappel's topic in General Support
I'm interested in this one too. -
Great!! can't wait.
-
I think the best way to promote PW is through documentation and tutorials for new users or users that are migrating from other CMSs. One of the great strengths of wordpress is the large amount of available material for novice users. I know by myself that PW is super easy, but apart from the tutorial "Simple website tutorial" by Joss there's no other complete tutorial about PW that can take you from knowing nothing to understand how it PW works. I'd love to do some tutorials by myself, but I still do not trust what I am doing or if I am doing well.
-
I know about padloper, but I don't need a full feature shop, i only need to study it. I'm working only in the catalog part with a quotation form.
- 69 replies
-
- e-commerce
- digital downloads
-
(and 2 more)
Tagged with:
-
The original Apeisa store module is still available for download ? I'm trying to build a simple catalog and I'm having a hard time thinking how to do it.
- 69 replies
-
- e-commerce
- digital downloads
-
(and 2 more)
Tagged with:
-
Thank you! I think I'm falling in love with PW, It's so easy doing complicated stuff.
-
Hello, I'm a long time lurker but I'm loving PW so far. I know a little about PHP, but I can follow and understand tutorials. I want to learn the enough PHP to be able to work well and make the most of this incredible CMS. The question is what PHP should I learn, I mean I know PW is OOP based but what patterns, what would be the most appropriate techniques should I focus on. Thank you. PD: please forgive my bad english... I'm still learning this too. Edit: some typos.