Recently Browsing 0 members
No registered users viewing this page.
By Nicole Bardales
Hi! I'm learning more about ProcessWire and PHP in general by practicing on the different modules.
I created a test form using the SimpleContactForm module and just adding 1 text field, 1 image upload and 1 file upload field. I've alternated between just one or the other and having both uploads.
Without the upload fields, the form gets handled correctly and is stored as a page, however when I add an upload field it returns the following error:
Fatal error: Uncaught Error: Call to a member function path() on null in C:\xampp\htdocs\avanzademo\wire\modules\Fieldtype\FieldtypeFile.module:220 Stack trace: #0 C:\xampp\htdocs\avanzademo\wire\core\WireHooks.php(924): ProcessWire\FieldtypeFile->hookProcessInput(Object(ProcessWire\HookEvent)) #1 C:\xampp\htdocs\avanzademo\wire\core\Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\InputfieldImage), 'processInput', Array) #2 C:\xampp\htdocs\avanzademo\wire\core\InputfieldWrapper.php(961): ProcessWire\Wire->__call('processInput', Array) #3 C:\xampp\htdocs\avanzademo\wire\modules\Inputfield\InputfieldForm.module(155): ProcessWire\InputfieldWrapper->___processInput(Object(ProcessWire\WireInputData)) #4 C:\xampp\htdocs\avanzademo\wire\core\Wire.php(383): ProcessWire\InputfieldForm->___processInput(Object(ProcessWire\WireInputData)) #5 C:\xampp\htdocs\avanzademo\wire\core\WireHooks.php(823): ProcessWire\Wire->_callMethod('___processInput', Array) #6 C:\xampp\htdocs\avanzademo\wire\core\Wire.php(450): ProcessWi in C:\xampp\htdocs\avanzademo\wire\modules\Fieldtype\FieldtypeFile.module on line 220 I've been looking into the mentioned files but can't seem to find the exact error. I also looked through a couple of the posts already discussing similar issues in the forum but I can't quite pinpoint what would be a viable solution for this.
If anyone can help point me in the right direction, I'd greatly appreciate it.
Hi, I need to provide a quite complex user registration form: description, subdescription, drop-down lists etc.
Through this registration, users will be able to access and comment.
If someone responds to their comments, I would like a NOTIFICATION to appear when accessing their panel.
My social interaction project is just that, it seems simple, I don't need more.
Now I am undecided whether to use buddypress, elgg, or a native processwire system.
What do you recommend?
If you recommend processwire, which modules should I install?
Do they work or is processwire too immature for that?
Translated with www.DeepL.com/Translator (free version)
Reference: PW 3.0.111 and uikit3 based site using the Regular-Master profile.
Despite my searches of the forum I'm somewhat confused about how to create new child pages on the frontend when a user clicks on a button on the parent page. I also have an equivalent button that is intended for uploading a .csv file to automatically create multiple new pages. This basically relates to a club (parent) and members (child) template configuration. Hopefully this explanation makes sense.
A button should be able to launch the code needed to initiate the script required to create a new page using something like:
<a href="/path/page.php">New +</a> <a href="/path/page.php">New ++</a> Does the code to create the new page or new pages need to be run from the template file for the child or the parent?
A new individual member page will need to be editable manually at the point of page creation as well as subsequently, whereas multiple new pages will need to be editable after they have created and populated with data, again, as well as subsequently.
I would very grateful for any advice or pointers as to how to achieve this.
Hi! I have a big problem with a client of mine. I have to do something that i don't do very often with processwire, and i'm very afraid that i'm not gonna able to do it. So i write to search some help from you experts.
The website that i'm gonna create will have a database with infos about users. This users are not the actual registrered users, but possible users. I'll try my best to explain this. What i will have is a datasheet in the database with infos about all the users (name, surname, fiscal Code) that can register to the website. So during registration the website is confront with this database of people, and accept or not your registration to the website.
Now. The problems are: the client need a page in the CMS to insert this people in the first place (Custom Admin Page?) in the database. I read what i need to create it, but i don't understand what i need to do next. What i need to do for reading and writing to the database, with data, directly from a custom admin page in processwire?
The other thing is. I can do this control during registration? I Can extend fields in the user account?
I'm completely in your hands.
I am new to processwire, but really appreciate the way its works. Thank you Ryan.
I need your help guys, any help would be appreciated, as i am searching the forum since last 1 month. but couldn't found out how to achieve.
My issue is as my user registers on my website, it will be assigned a role. eg Register
but what i want to achieve is that after login i want user to have edit profile , logout and Add Page. But i want user to add only one time, only single page can be post by him.
if user adds the page, and login into account it must show edit page.
Please help me guys.