WebSite X5Help Center

 
Bill W.
Bill W.
User

Problem using contact form  en

Автор: Bill W.
Просмотрено 1210, Подписчики 1, Размещенный 0  

I get the following error when I submit the contact form. It says no such file or directory but I'm not sure what they are referring to:

20200526T103304: ststephendp.org/eng/wsx5-20200526143302-c6k6zryi.php PHP Warning: session_start(): open(/var/php_sessions/sess_4ss92gknv7lq7jdtvf7jrstlfrvldacb, O_RDWR) failed: No such file or directory (2) in /hermes/bosnacweb01/bosnacweb01aa/b1413/ipg.ststephendporg/eng/wsx5-20200526143302-c6k6zryi.php on line 83 PHP Warning: session_start(): Failed to read session data: files (path: /var/php_sessions) in /hermes/bosnacweb01/bosnacweb01aa/b1413/ipg.ststephendporg/eng/wsx5-20200526143302-c6k6zryi.php on line 83

Размещено
7 Ответы - 1 Корректно
Bill W.
Bill W.
User
Автор

Thanks I discovered that i had the wrong host path. I corrected that and that cleared up the connection problem but now i see a row inserted on the database but no data. I can insert into the database in mysql but not from the contact form, any suggestions?

Читать больше
Размещено От Bill W.
Paul M.
Paul M.
Moderator

Are the database user credentials and privileges exactly the same for both phpMyAdmin (or whatever software you are using) and WebSite X5?

Are you running at least MySQL version 5.7 on the server?

Did you create the table in the database manually?  If so, try deleting it and letting WebSite X5 create it automatically.

What do your server error logs say?  This could be another iPage specific hosting issue.

Читать больше
Размещено От Paul M.
Bill W.
Bill W.
User
Автор

I wasn't aware that website X5 would automatically create a database. I can't find any documentation on that. 

Читать больше
Размещено От Bill W.
Paul M.
Paul M.
Moderator

It won't create the database, but it will create the table:

Table Name: enter the name of the table in the database where you want submitted data to be added. If the table doesn't exist, it will be created automatically.

ref: https://help.websitex5.com/en/v2020.1/pro/index.html?ins_form_tab2.htm

Читать больше
Размещено От Paul M.
Bill W.
Bill W.
User
Автор

I removed the table I created and let website x5 build it and that did the trick. Thanks for your help and patience!

Читать больше
Размещено От Bill W.