Archiv des Autors: jbox-admin

Windows 7 Enterprise auf normales Windows downgraden

(http://mp7000.deviantart.com/art/Windows-7-Enterprise-Downgrade-159805048)

  • Führe ihn aus und wähle die gewünschte Windows-Version. man beachte, daß ein Upgrade nur in folgender Reihenfolge geht: Starter -> Home Basic -> Home Premium -> Professional -> Ultimate. Es reicht windows 7 Pro zu nehmen, wenn man auf „Pro“ upgraden will.

 

  • Mounte die Windows7-DVD (oder -ISO) und führe Setup aus und wähle dann Upgrade.

 

  • Nun wird ein ganz normaler Upgrade durchgeführt, inklusive Eingabe des Lizenzkeys und Aktivierung.

BreezingForms eigenes JavaScript und PHP einfügen

– Scripts Tab

==> Initialization Script: A javascript that should be executed on form initalization (=loading)

==> Submitted Script: A javascript that will be triggered after the form has been submitted.

– Form Pieces Tab

==> Before Form: PHP that should be executed before the form is rendered. You can for example print something out and it will be displayed on top of the form.

==> After Form: The same like above but will be executed after the form is rendered. So printing will happen in the end of the form

– Submit Pieces Tab

==> Before Submit: PHP that will be executed before the form is going to be submitted. You can use this for example catching values and prevent storing a submission.

==> After Submit: Same like above, except that it will be executed after a submission has been stored.

All of these tabs above share the same concept:

– Library: You can wether choose a predefined script/piece from the library. While each item of the library can be packaged itself. Means, you can create your own library items and re-use them in other forms.

– Custom: You can add code directly in-place for one of the actions above. For custom scripts it is required that you click „create code framework“ first in order to have a javascript function skeleton where you place your code into, while for pieces you can start writing your custom code without the need to create a function.

Things you always want to use in a Piece (PHP):

ff_getSubmit(‚FIELDNAME‘) => will return the value of a field

ff_getSubmit(‚FIELDNAME‘, FF_ARRAY) => will return the value of a field as array. required if you want access to vaues of a group like a checkbox

As soon as you use things like ff_getSubmit() in your piece, put this as first command into your custom code:

$this->execPieceByName(‚ff_InitLib‘);

Things you always want to use in a Script (Javascript):

ff_getElementByName(‚FIELDNAME‘) ==> will return the DOM object of the field
ff_getElementByName(‚FIELDNAME‘).value ==> will return the value of that field

The same is applicable for scripts that you use for validations, actions and initializations on field level.

Hope that gives you an initial overview of the pieces and scripts!

 

Quelle

https://crosstec.org/en/forums/3-breezingforms-for-joomla/69058-bf-scripts-documentation.html

phpmyadmin startet nicht wegen basedir-restrictions

In der /etc/apache2/conf.d/phpmyadmin.conf:

 

Bereich Ifmodule austauschen:

        <IfModule mod_php5.c>

                AddType application/x-httpd-php .php

 

                php_flag magic_quotes_gpc Off

                php_flag track_vars On

                php_flag register_globals Off

                php_value include_path .

                php_admin_flag allow_url_fopen Off

                php_admin_value upload_tmp_dir /tmp

                php_value include_path .:/usr/share/php:/usr/share/pear

                php_admin_value open_basedir /usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/tmp

 

        </IfModule>

Fli4L – 1 Router verwaltet 2 getrennte Netze

erstmal fli4l updaten

 

 

was soll erreicht werden?

 

zwei netze, voneinander getrennt, beide internet-zugang

192.168.0.0

192.168.2.0

 

 

Problem:

einer Netzwerkkarte in fli4l zwei Netzwerke zuweisen

 

So gehts :

The fli4l router is also able to do IP aliasing, i.e. to assign multiple IP addresses to a single network adapter. Additional IP addresses are simply specified by linking another network to the same device. When mkfli4l checks the configuration you are informed that you define such an alias–you can ignore the warning in this case.

 

Example:

 

        IP_NET_1=’192.168.6.1/24′

        IP_NET_1_DEV=’eth0′

        IP_NET_2=’192.168.7.1/24′

        IP_NET_2_DEV=’eth0:0′

 

        http://www.fli4l.de/fileadmin/doc/english/html/fli4l-3.10.4/node16.html

 

 

http://spline.fli4l.narkive.com/psOlrx2p/ip-aliasing

 

 

Bisherige Vorgehensweise

 

1. Ein zweites Netzwerk erstellt mit IP_NET

IP_NET_2=’192.168.7.1/24′

        IP_NET_2_DEV=’eth0:0′

 

2. Firewall

INPUT_LIST_N=’4′

INPUT_LIST_4= ‚IP_NET2 ACCEPPT‘

 

FORWARD_LIST_N=’3′

FORWARD_LIST_3=’IP_NET2 ACCEPPT‘

 

 

POSTROUTING_LIST_N=’2′

POSTROUTING_LIST_2=’IP_NET_2 MASQUERADE‘

 

FUNKTIONIERT!

 

Nach OSX Update Macports aktualisieren

1. Neuen XCode installieren

2. XCode-CommandLine-Tools installieren:

Kommandozeile:

xcode-select –install

3. XCode Lizenz abnicken

xcodebuild -license

4. Passendes aktualisiertes MacPort Paket installieren https://www.macports.org/install.php

5. Kommandozeile:

port selfupdate

port upgrade outdated

Wenn das durchläuft sollte das Upgrade geklappt haben

Ansonsten hier mal checken: https://trac.macports.org/wiki/Migration