Form not showing

Latest Reply from Dave at 2014-03-06 02:38:51
Hi all, i am using architecture in local to figure it out before purchasing and moving on remote. The problem is that the form is not showing at all, when i click on the main menu the only thing i get is a white page...
i am an absolute beginner with wordpress and can't figure out where am doing wrong.
any help?
TNX
Hi!
Which form is not displayed?Could you attach a screenshots?
Hi!
I simply created a new page and chose "contact form" from the
"template" box in the lower right (as stated in the template itself: "To add contact form to your web site, create new page and choose "Contact form" template")... i didn't do any change, i thought it was maeant to appear automatically...if i install an external extra plug in it seems to work, the one that doesn't is the one provided with the template.
Tnx
It really works. Did you try to remove the footer links? This can cause some problems. Could you send us a screenshot if you build a website on a local host.
Hi. i moved what i did so far on a free hosting service, here is the link to it. the form should appear in the last menu item called "Contatti" (italian native speaker):
http://architectures.altervista.org (architecture was already taken)
"Did you try to remove the footer links?"--->No sir, i am not able to work on php or style sheets.
by the way, i am having some trouble even with google's analytics code, i put it in header then in top.php and i even used the box in the dashboard as you suggested to someone else here in the forum but none of them seems to work... it says that nobody has seen the site, but the free service of the hosting states that every day there's someone who actually visits the site...where am i doing wrong??
Tnx
Just started trying to use architecture myself today and came looking for an answer to the exact same problem. My page is temporarily available while I'm working on it at larry.waltwarren.com. Footers are intact as well on mine. I filled in some of the contact form info, then created a new page, left it blank and chose the contact form template. Got a plain white blank page. Used Chrome's View Source Code and got nothing. Edited the page to give it a name "Contact Form" and the word Test in the body, and still get just a blank page.
Hi!
Could you turn on the option wp-debug to get more information about the error? You can do it in the wp-config.php in the root directory of your WordPress. Just find string
define('WP_DEBUG', false);
there, and replace it with
define('WP_DEBUG', true);

Hi
Done
Tnx
That line didn't already exist to edit, but I've added it.
Ooh. Lots of errors. From the homepage:
"Notice: get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead. in /var/www/wgtest/wp-includes/functions.php on line 2908 Notice: Undefined variable: supported in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 391 Warning: preg_match(): Compilation failed: missing ) at offset 166 in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 391 Warning: preg_match(): No ending delimiter '/' found in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 391 Notice: Undefined index: page in /var/www/wgtest/wp-content/themes/architecture/inc/administrator.php on line 16 Notice: Undefined variable: descr in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 457 Notice: Undefined variable: descr in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 458 Notice: Undefined variable: keywords in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 462

From the contact form page:
Notice: get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead. in /var/www/wgtest/wp-includes/functions.php on line 2908 Notice: Undefined variable: supported in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 391 Warning: preg_match(): Compilation failed: missing ) at offset 166 in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 391 Warning: preg_match(): No ending delimiter '/' found in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 391 Notice: Undefined index: page in /var/www/wgtest/wp-content/themes/architecture/inc/administrator.php on line 16 Parse error: syntax error, unexpected T_VARIABLE in /var/www/wgtest/wp-content/themes/architecture/feedback.php on line 19
There's an odd thing happening around line 391 in the library.php file. There are several instances of a string $params and $defparams. But when I use a particular editor that colors coding, those show up odd. I loaded that file in another editor and it shows a curious glitch which I've highlited. I don't know if that could be causing a problem or not. The 8 highlighted items are the only ones like that in the file.
Fixing those 8 occurrences of $pаrams and $defpаrams so they're $params and $defparams breaks the file to a point that nothing works at all. "Fatal error: Cannot use string offset as an array in /var/www/wgtest/wp-content/themes/architecture/inc/library.php on line 377."

At this point, I've exhausted my pretty much non-existent PHP knowledge, so I'll leave a fix up to you, Alice.
Found the contact form problem. On line 19 of /wp-content/themes/architecture/feedback.php, there is a mismatch in parentheses.
Add a parentheses between wp_mail and $SMTheme so it looks like this and the page loaded (at least for me.)

wp_mail($SMTheme->get( 'contactform', 'email' ), 'Message from '.$from, $msg);


Alice, let us know if that's not where it should really go or not.
Hi all. this is what i get from the form page:
Notice (TRANSLATED FROM ITALIAN, ONLY THIS ROW): get_theme_data is deprecate since version 3.4! Use wp_get_theme(). in /membri/architectures/wp-includes/functions.php on line 2908

Notice: Undefined variable: supported in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: missing ) at offset 166 in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 391

Warning: preg_match() [function.preg-match]: No ending delimiter '/' found in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 391

Notice: Undefined index: page in /membri/architectures/wp-content/themes/architecture/inc/administrator.php on line 16

Parse error: syntax error, unexpected T_VARIABLE in /membri/architectures/wp-content/themes/architecture/feedback.php on line 19

Now it pops up even this from the header:
Notice (TRANSLATED FROM ITALIAN, ONLY THIS ROW): get_theme_data is deprecated since 3.4! Use wp_get_theme(). in /membri/architectures/wp-includes/functions.php on line 2908

Notice: Undefined variable: supported in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 391

Warning: preg_match() [function.preg-match]: Compilation failed: missing ) at offset 166 in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 391

Warning: preg_match() [function.preg-match]: No ending delimiter '/' found in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 391

Notice: Undefined index: page in /membri/architectures/wp-content/themes/architecture/inc/administrator.php on line 16

Notice: Undefined variable: descr in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 457

Notice: Undefined variable: descr in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 458

Notice: Undefined variable: keywords in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 462
Notice: Undefined variable: class in /membri/architectures/wp-content/themes/architecture/inc/library.php on line 354
class="home page page-id-27 page-template-default logged-in content-r" layout='2'>

Hope this helps in identifying the problem.i am gonna get the file back to "false", i am concerned about security.
Tnx
Hi all!
Unfortunately, these warnings and notices are not strict and can't cause the problem with your contact form. The real problem is the bug on the line number 19. Please, replace the line:
wp_mail($SMTheme->get( 'contactform', 'email' ), 'Message from '.$from, $msg);
Hi! Now it works. Many thanks. Is there a way to put in it a captcha code??
All changes such as change background, change font, or add new elements, etc you can do by yourself editing css and html at your own risk.
We don't provide any services, paid or unpaid, for editing themes for individual users. Probably, to add captcha code you have to edit the file feedback.php.

Leave a reply

Add codeAdd image