Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

install under win/xampp-portable

tptopu
Posts: 1
Joined: Sat Jul 27, 2013 3:31 pm

install under win/xampp-portable

Unread post by tptopu »

Hi,

I just tried to install nuBuilder under Windows/xampp-portable following the step-by-step-instructions from zazzium here: http://forums.nubuilder.cloud/viewtopic.php?f=5&t=8260

The login works fine, but then I get a long list with php-errors. They are all thrown within the <body> and before the <title>-tag.

Here are the first ones:
: Undefined variable: session in C:\xampp-portable\htdocs\nubuilder\productionnu2\form.php on line 91
: Undefined variable: newRecordID in C:\xampp-portable\htdocs\nubuilder\productionnu2\form.php on line 209
: Undefined index: newwin in C:\xampp-portable\htdocs\nubuilder\productionnu2\form.php on line 639
: Undefined index: historySession in C:\xampp-portable\htdocs\nubuilder\productionnu2\common.php on line 1946
...
...

What´s wrong with my installation? My xampp does work perfectly with wordpress for instance.

Any hint appreciated!
Regards Tobias
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: install under win/xampp-portable

Unread post by massiws »

tptopu, try to set Display_errors = Off in php.ini file: this should fix.

Hope this helps,
Max
jsg
Posts: 10
Joined: Fri Aug 09, 2013 12:10 pm

Re: install under win/xampp-portable

Unread post by jsg »

Hi
I face the same problem as tptopu. I tried setting Display errors off but the problem persists. Please help!!!!!
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: install under win/xampp-portable

Unread post by massiws »

jsg,
are you sure you modified the right php.ini file?
Try to upload a file phpinfo.php in your server's root:

Code: Select all

// @file phpinfo.php

<?php
  echo phpinfo();
?>
Now point your browser in yoursite.com/phpinfo.php (I suppose http://localhost/nubuilder-folder/phpinfo.php).
In the first rows of the table you can find Loaded Configuration File, that is the path where you can find the php.ini file.

In that file you should have Display errors =Off.
Now restart Apache and reload the page in browser: is the value Display errors still On?
If yes, try to add this to your htaccess file:

Code: Select all

 php_flag display_errors off 
Hope this helps,
Max
jsg
Posts: 10
Joined: Fri Aug 09, 2013 12:10 pm

Re: install under win/xampp-portable

Unread post by jsg »

Thanks Max. I changed the correct file but the problem persists. I am uploading a screenshot of what I get.
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: install under win/xampp-portable

Unread post by massiws »

jsg, where is your screenshot?
Have a look at this values in php.ini:

Code: Select all

display_errors = Off
display_startup_errors = Off
Pointing your browser at phpinfo.php do you see the changes you made?
jsg
Posts: 10
Joined: Fri Aug 09, 2013 12:10 pm

Re: install under win/xampp-portable

Unread post by jsg »

Hi Max
Sorry for the delay.
As I mentioned earlier I have set display and startup errors off in php.ini file but errors are still coming.
I uploaded a word file named screenshot as attachment. I am doing the same again but I am not sure if it is reaching or not
jsg
Posts: 10
Joined: Fri Aug 09, 2013 12:10 pm

Re: install under win/xampp-portable

Unread post by jsg »

Hi Max
I am trying to attach my php.ini file also for your review.
jsg
Posts: 10
Joined: Fri Aug 09, 2013 12:10 pm

Re: install under win/xampp-portable

Unread post by jsg »

I am trying to attach files through 'Upload attachment' tab but I get no feedback if my files are being uploaded or not.
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: install under win/xampp-portable

Unread post by massiws »

jsg,
to attach files:
  • in Upload attachment select the file from your PC;
  • click Add the file button.
If problem persist, try to reduce the file size.
Have a look here for more option.
Locked