What's this scope?

Hi,I've been troubled by this scope problem for a while.Here is the fragments of a jsp file:
//codes.
<%
String name="hello";                                                //(1)
//pageContext.setAttribute("name",name);          //(2)
%>
<c:out value="${name}"/>                                       //(1)
<!--
  <c:out value="${pageScope.name}"/>                                     //(2)
-->
//end.Here the codes work OK, but if mixed (part 1 and part 2), there's no output. So what are the scopes of the 'name' variable in both parts?
Any help is greatly appreciated.Thanks in advance.

Hi,I've been troubled by this scope problem for a
while.Here is the fragments of a jsp file:
//codes.
<%
String name="hello";
//(1)
//(2)
<c:out value="${name}"/>
//(1)
me}"/>                                     //(2)
-->
//end.
Since you are already writing this with JSTL there's no need to use JSP Scriptlets anymore.
The above could be changed to much simpler code as follows:
<c:set name="hello" value="Micky"/>
${name}In the above code the default scope is "page".
A variable in a JSP can have page, request or session scope.
A variable in page scope only exists when the code in that page is executed, once the JSP page is closed or changed the page scope variable will no longer be available.
>
Here the codes work OK, but if mixed (part 1 and part
2), there's no output. So what are the scopes of the
'name' variable in both parts?
Any help is greatly appreciated.Thanks in advance.

Similar Messages

  • Reg an Error: no function with name 'CURRENT_RECORD' exists in this scope

    Hi All,
    I am getting the following error when i try using Set_Item_Instance_Property for assigning a visual attribute to an item.
    This is the code. I have replaced Display_Item with Set_Item_Instance_Property for setting the visual attribute.
    --DISPLAY_ITEM(lv_cur_item, 'VA_CURRENT_BUTTON');
    SET_ITEM_INSTANCE_PROPERTY(lv_cur_item,CURRENT_RECORD,VISUAL_ATTRIBUTE,'VA_CURRENT_BUTTON');
    no function with name 'CURRENT_RECORD' exists in this scope
    Any suggestion regarding this.
    Regards,
    Prasad.

    L.Rajesh - :SYSTEM.CURRENT_RECORD global variable does not exist - use :SYSTEM.CURSOR_RECORD or :SYSTEM.TRIGGER_RECORD instead.
    Prasad - what version of Forms are you using? For Forms 6i and higher, CURRENT_RECORD property is a valid reference. (not sure about Forms 5 or earlier as I don't have access to these versions any longer :) ) Are you logged into a database when you compile your code? There might be a TYPO somewhere in your code that the PL/SQL compiler can't determine the cause and CURRENT_RECORD is the first recognizable term the compiler can find. Sometimes, I've had to log out, close Forms Builder and reopen the form I'm working on to eliminate these types of odd compilation errors.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • Error occurred in deployment step 'Activate Features': Feature with Id 'GUID' is not installed in this farm, and cannot be added to this scope.

    Really frustrated!!! Using SP 2010 with VS 2010. Created a simple project with just 1 elements.xml file for adding 2 columns. Scope of the feature is "Site". When I right click and deploy it gives below error.
    Error occurred in deployment step 'Activate Features': Feature with Id 'GUID' is not installed in this farm, and cannot be added to this scope.
    If I look at the CA, I see the wsp is installed but NOT deployed (Status = "Not Deployed", "Deployed To" = None). I have checked the GUID in the error and its my feature id.
    Please let me know what is going wrong here! Thanks for your help.
    Please mark as 'Propose as Answer' or 'Vote' as appropriate.

    Hi Sagir,
    Try to check the GUID in error message to see if it’s in Feature1.Template.xml file.
    For more information, please refer to
    http://markviky.blogspot.com/2010/09/error-while-activating-feature.html
    http://alltoft.wordpress.com/2011/06/13/sp2010-error-occurred-in-deployment-step-activate-features/
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Error: PLS-222: no function with name 'V' exists in this scope

    In my application, I used the wizard to create a form on a table with Report (2 pages). Then I go to the Report page and I want to test the edit function. This successfully launches the edit Form. When I change the values in the form and then try to save them, I get this error:
    Error Unable to process row of table PRODUCER.
    OK
    ORA-20001: Error in DML: p_rowid=ISDIRECT12, p_alt_rowid=KEYCODE, p_rowid2=, p_alt_rowid2=. ORA-06552: PL/SQL: Statement ignored ORA-06553: PLS-222: no function with name 'V' exists in this scope
    I guess my question is: should I be able to run and use the application while in developer mode.
    If yes, what am I doing wrong?

    We downloaded the companion CD product from OTN
    In the install, we just set up the second option (for HTML db. No glitches on the install, ended successfully
    Read the notes in the doc folder. No issues there
    Platform for development is Win XP Pro
    DB server and app server on same PC.
    Not sure what else you might need to know to answer your question

  • Dbxml for php: second_arg_force_ref was declared in this scope

    Hi all,
    I'm getting this error after going into the db-4.8.26 folder and running make.
    phpize
    ./configure --with-db4=$PWD/../../install
    make
    I was following this thread here but there's no open solution there now.
    Berkeley DB XML and PHP 5.3
    Here is the output (from the configure onwards)
    *root@projects-test:/tmp/dbxml-2.5.16/db-4.8.26/php_db4# ./configure --with-db4=$PWD/../../install*
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr
    checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
    checking for PHP extension directory... /usr/lib/php5/20090626
    checking for PHP installed headers prefix... /usr/include/php5
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... no
    checking for nawk... nawk
    checking if nawk is broken... no
    checking whether to enable db4 support... yes, shared
    checking whether to link against mod_db4... yes, shared
    checking if we really need to link against mod_db4... no
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking how to run the C++ preprocessor... g++ -E
    configure: WARNING: *** A note about pthreads ***
    The db4 c++ library by default tries to link against libpthread on some
    systems (notably Linux). If your PHP install is not linked against
    libpthread, you will need to disable pthread support in db4. This can
    be done by compiling db4 with the flag --with-mutex=x86/gcc-assembly.
    PHP can itself be forced to link against libpthread either by manually editing
    its build files (which some distributions do), or by building it with
    --with-experimental-zts.
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking for gawk... (cached) nawk
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for sysroot... no
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC -DPIC
    checking if cc PIC flag -fPIC -DPIC works... yes
    checking if cc static flag -static works... yes
    checking if cc supports -c -o file.o... yes
    checking if cc supports -c -o file.o... (cached) yes
    checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    configure: creating ./config.status
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing libtool commands
    root@projects-test:/tmp/dbxml-2.5.16/db-4.8.26/php_db4# make
    /bin/bash /tmp/dbxml-2.5.16/db-4.8.26/php_db4/libtool --mode=compile g++  -I. -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -DPHP_ATOM_INC -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/include -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/main -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/../../install/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp -o db4.lo
    libtool: compile: g++ -I. -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -DPHP_ATOM_INC -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/include -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/main -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/tmp/dbxml-2.5.16/db-4.8.26/php_db4/../../install/include -DHAVE_CONFIG_H -g -O2 -c /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp -fPIC -DPIC -o .libs/db4.o
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:193:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:342:9: error: 'second_arg_force_ref' was not declared in this scope
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:342:9: error: 'second_arg_force_ref' was not declared in this scope
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'int zm_startup_db4(int, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:406:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:407:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:408:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:409:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:414:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'DB_ENV* php_db4_getDbEnvFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:671:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'php_DB_ENV* php_db4_getPhpDbEnvFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:684:104: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'php_DB* getPhpDbFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:719:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'DB* php_db4_getDbFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:730:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'DB_TXN* php_db4_getDbTxnFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:788:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'php_DB_TXN* getPhpDbTxnFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:801:108: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'DBC* php_db4_getDbcFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:880:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'php_DBC* getPhpDbcFromObj(zval*)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:893:103: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_txn_commit(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:969:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_txn_set_timeout(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1026:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_txn_set_name(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1047:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapnew_db4(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1103:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_open(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1143:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_del(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1198:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_get(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1227:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_pget(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1261:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_set_encrypt(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1328:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_stat(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1361:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_join(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1474:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_put(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1514:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_truncate(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1562:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_cursor(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1590:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_close(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1623:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_count(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1642:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_del(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1659:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_dup(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1679:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_get(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1704:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_pget(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1740:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdbc_put(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1780:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapnew_DbEnv(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1821:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_close(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1849:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_dbremove(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1872:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_dbrename(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1901:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_open(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1932:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_remove(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1957:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_set_data_dir(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1975:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_set_encrypt(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:1995:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_txn_begin(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:2033:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp: In function 'void wrapdb_env_txn_checkpoint(int, zval*, zval**, zval*, int)':
    /tmp/dbxml-2.5.16/db-4.8.26/php_db4/db4.cpp:2066:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    make: *** [db4.lo] Error 1
    root@projects-test:/tmp/dbxml-2.5.16/db-4.8.26/php_db4#
    Edited by: user8894150 on Jul 8, 2012 12:42 PM
    Removed configure output from previous command.

    Thanks for the reply, I tried what you suggested and got an error about iostream.h no such file or directory. I did some reading and saw some suggestions that I needed to pass the --enable-cxx flag when doing the main build, so I redid that. I'm not even sure if that was necessary, but I got the dba module to build. How do I build dbxml.so though? I'm not sure what arguments to pass to configure. Do I use with-dbxml, prefix? When I run make I keep getting a no such file or directory error, unable to find ext/db4/php_db4.h I think.
    I extracted db-xml-2.5.16.tar.gz ahd PHP 5.3.15 (tar.gz) into $HOME/tmp. I installed PHP 5.3.15 into $HOME/php5314 (made a mistake with the numbers there).
    These are the steps I followed:
    cd ~/tmp/
    tar -xvf dbxml-2.5.16.tar.gz
    cd dbxml-2.5.16/db-4.8.26/build_unix/
    ../dist/configure prefix=$HOME/tmp/dbxml-2.5.16/db-4.8.26 enable-cxx
    make
    make install
    # build PHP
    cd ~/tmp
    tar -xvf php-5.3.15.tar.gz
    cd php-5.3.15
    ./configure prefix=$HOME/*php5314* disable-all # should have called that 5315... oops
    make install
    cp php.ini-development $HOME/php5314/lib/php.ini
    # Building dba
    cd ext/dba
    export PATH=$PATH:$HOME/php5314/bin
    phpize
    ./configure --with-db4=$HOME/bdb-4.8.26
    sudo make install
    # Now for dbxml
    cd $HOME/tmp/dbxml-2.5.16/dbxml/src/php
    phpize
    *./configure ?????*
    make
    /bin/bash /home/jay/tmp/dbxml-2.5.16/dbxml/src/php/libtool --mode=compile g++  -I. -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php -DPHP_ATOM_INC -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php/include -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php/main -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -I/home/jay/tmp/dbxml-2.5.16/db-4.8.26/php_db4  -DHAVE_CONFIG_H  -g -O2   -c /home/jay/tmp/dbxml-2.5.16/dbxml/src/php/php_dbxml.cpp -o php_dbxml.lo
    libtool: compile: g++ -I. -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php -DPHP_ATOM_INC -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php/include -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php/main -I/home/jay/tmp/dbxml-2.5.16/dbxml/src/php -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -I/home/jay/tmp/dbxml-2.5.16/db-4.8.26/php_db4 -DHAVE_CONFIG_H -g -O2 -c /home/jay/tmp/dbxml-2.5.16/dbxml/src/php/php_dbxml.cpp -fPIC -DPIC -o .libs/php_dbxml.o
    In file included from /home/jay/tmp/dbxml-2.5.16/dbxml/src/php/php_dbxml.cpp:10:0:
    */home/jay/tmp/dbxml-2.5.16/dbxml/src/php/php_dbxml_int.hpp:24:29: fatal error: ext/db4/php_db4.h: No such file or directory*
    compilation terminated.
    make: *** [php_dbxml.lo] Error 1

  • I'm getting this error statement: XULRUNNER error: platform version 6.0.2 is not compatible with min etc max etc6.0.1 - what is this about and how can it be corrected?

    This is what I think may have happened. The other day, Thursday Sept 8th, I shut down my pc in the middle of a Firefox upgrade. Now when I try to access Firefox on my pc, I get this error message:
    XULRUNNER Error: Platform version '6.0.2 is not compatible with min Version >= 6.0.1 max Version < 6.0.1
    What is this about and how can I retsore access to Firefox on my pc?

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    Do a clean reinstall and delete the Firefox program folder.
    * http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    *[[/questions/869812]]
    *[[/questions/869951]]

  • I have just sought  to update my lightroom and am now unable to access the develop function and get a note stating that I have reduced functionality what it this about and how do I get my product back

    I have just sought  to update my lightroom and am now unable to access the develop function and get a note stating that I have reduced functionality what it this about and how do I get my product back

    Hi there
    I have version 5.7 and every time I opened it I was told that updates are available and to click on the icon to access these.  Instead it just took me to the
    adobe page with nowhere visible to update.  I then  sought to download lightroom cc and this is when I could not access the 'develop' section due to reduced
    functionality  It was apparent that my photos had been put in cc but no way to access them unless I wanted to subscribe. 
    I have since remedied the problem as  my original lightroom 5.7 icon is still available on the desktop and have gone back to that.  I do feel that this is a bit
    of a rip off and an unnecessary waste of my time though.
    Thank you for your prompt reply by the way.
    Carlo
    Message Received: May 04 2015, 04:52 PM
    From: "dj_paige" <[email protected]>
    To: "Carlo Bragagnolo" <[email protected]>
    Cc:
    Subject:  I have just sought  to update my lightroom and am now unable to access the develop function and get a note stating that I have
    reduced functionality what it this about and how do I get my product back
    dj_paige  created the discussion
    "I have just sought  to update my lightroom and am now unable to access the develop function and get a note stating that I have reduced functionality what it
    this about and how do I get my product back"
    To view the discussion, visit: https://forums.adobe.com/message/7510559#7510559
    >

  • I have frequent instances of my Macbook Pro beeping 3 times and then I have to forcefully shut it down by pressing the power button. What is this all about? Please help. Thank you.

    I have frequent instances of my Macbook Pro beeping 3 times and then I have to forcefully shut it down by pressing the power button. What is this all about? Please help. Thank you.
    I saw this report being sent to Apple:
    Interval Since Last Panic Report:  581719 sec
    Panics Since Last Report:          10
    Anonymous UUID: F4CF708D-D85C-4EC5-8047-4FC22C6B03AF
    Fri Mar  7 13:00:14 2014
    panic(cpu 0 caller 0xffffff80002d1208): Kernel trap at 0xffffff800020c590, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x0000000007541000, CR4: 0x0000000000040660
    RAX: 0xffffff8000000000, RBX: 0xffffff800d35a870, RCX: 0xffffff800cf55cd8, RDX: 0xffffff80008a8fcc
    RSP: 0xffffff805e5f3d60, RBP: 0xffffff805e5f3da0, RSI: 0x000000001dcd6500, RDI: 0xffffff800d168778
    R8: 0x0000000000000001, R9: 0xffffff805e5f3e88, R10: 0x0000000000000011, R11: 0x0000000000000000
    R12: 0x0000000000000000, R13: 0xffffff800d168770, R14: 0xffffff800d168778, R15: 0x0000000000000000
    RFL: 0x0000000000010082, RIP: 0xffffff800020c590, CS:  0x0000000000000008, SS:  0x0000000000000010
    Error code: 0x0000000000000000
    Backtrace (CPU 0), Frame : Return Address
    0xffffff805e5f3a00 : 0xffffff8000204d15
    0xffffff805e5f3b00 : 0xffffff80002d1208
    0xffffff805e5f3c50 :
    Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.68f99
    Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.104.5)
    Bluetooth: Version 2.4.5f3, 2 service, 12 devices, 1 incoming serial ports
    Serial ATA Device: Hitachi HTS545032B9A302, 298.09 GB
    Serial ATA Device: OPTIARC DVD RW AD-5970H
    USB Device: FaceTime HD Camera (Built-in), 0x05ac  (Apple Inc.), 0x8509, 0xfa200000 / 3
    USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x821a, 0xfa113000 / 8
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0245, 0xfa120000 / 4
    USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd110000 / 3

    Hmm. The problem still may be the RAM - Apple buys the RAM it puts in its machines from third-party vendors (usually Hynix) so it could be a RAM problem.
    There are a couple of things that you can do yourself before taking your machine into an Apple Store or an AASP... download and run an application named Rember that will run a RAM test for you - let it run for a couple of hours or even overnight. If it turns out that your RAM is faulty, Rember will let you know. If it is faulty, then you have a couple of options - replace the RAM yourself or (particularly if you're under warranty still) take the machine to an Apple Store or AASP and have them replace the RAM.
    If Rember finds no fault with the RAM, then you'll need to take it into an Apple Store/AASP and get a free diagnosis on the machine. Three beeps do usually indicate faulty RAM, but if it tests good with Rember you likely have another problem - it could be something as simple as the RAM, somehow, not seated correctly or signs of another hardware problem.
    Run Rember first... call back with results.
    Good luck,
    Clinton

  • What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7

    What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7
    I found the manual update, which worked!
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5595&fileID= 5604

    Hi Barbara,
    For failed 13.1.2 update error U44M1P7, Please refer to the solution mentioned in the following threads :
    http://forums.adobe.com/message/5396792#5396792
    http://forums.adobe.com/message/5409050#5409050

  • HT201412 iPhone 4S extremely hot and turned off. What causes this? is it safe to plug in charger?

    My iPhone 4S is extremely hot. It just turned off and wont turn back on. It had 65% battery and now its sahing to plug in to.charge. Im afraid to plig into outlet since its hot. What does this mean?

    Hi Mende,
    Thanks for the info. I am though not sure of the service centers here in Delhi (India) as they are really not concerned about the customer and try to make money by telling that things cannot be changed in warranty due to x and y reasons (my friend had similar issues and he was forced to buy a new charger even when things were in warranty). Though thanks for the info.

  • Why has my monitor suddenly begun to have a moiré pattern all over – it is even showing up on my icons on the dock? It appears to be very thin bright green vertical lines. I have a 2008 iMac which is running 10.6.8. What does this mean?

    Why has my monitor suddenly begun to have a moiré pattern all over – it is even showing up on my icons on the dock? It appears to be very thin bright green vertical lines. I have a 2007 iMac which is running 10.6.8. What does this mean? I've attached some screen shots below.
    Also experiencing some funky issues with my wireless keyboard. With new batteries, it will just stop functioning. Certain keys intermittently won't work. Also the fans go on as soon as I turn the computer on - some times they stay on and sometimes they don't. Ever since upgrading the operating system - I've been having many issues with this iMac. Not happy. Any answers out there?

    Thanks for your reply LexSchellings, There is no disc in the drive and I went through the suggestions you put forward on the phone with Apple support without any luck. I can put a disc in but it pops straight back out again without registering on finder.
    The idea of using an external drive was to enable me to avoid the cost and loss of productivity whilst machine in repair... if I have to take it in to get the old drive removed than I might as well have a new internal drive put in, although I do worry about the reliability of these apple drives given my experience with this one coupled with my limited online research ... on line forums seem to be full of people with the same problem (although perhaps searching such forums is bound to make it seem a common problem as users with perfectly working machines are less likely to post (?)) Your reply suggests that no external drive will work whilst the existing drive is in place.
    As a postscript: I do realise that this is a user forum ...my secondary question was asking if anyone knows how to put forward a case/complaint to Apple... I can't find a link on the support page that would enable me to do so and I was wondering if anyone on this user forum had any ideas/experience..

  • When trying to update my IPad apps I am getting the message "Your Apple ID has been disabled". Still have more than 50$ in my account, so what does this mean ?  What can I do to get my ID enabled again ?

    when I am trying to download IPad updates I get the message "Your Apple ID has been disabled". What does this mean? How do I get my ID enabled again? Still got more than 50$ in my account !

    Reset your Apple ID password here >  Apple - My Apple ID
    More information here >  Apple ID: "This Apple ID has been disabled for security reasons"  appears

  • When trying to update phone, a message says i have purchased items that have not been transferred to iTunes, what is this?

    When trying to update phone, a message says i have purchased items that have not been transferred to iTunes, what is this?

    We need a bit more information to help.
    Are you trying to update your iPhone using iTunes on your computer?  If so, did you make purchases through the iTunes Store or App Store on your iPhone, and fail to sync them with your computer?  That is the likely meaning of what you are seeing.  If this is true, the purchases would be added to iTunes in your computer before the upgrade proceeds.

  • My Airport Time Capsule only works when I turn off and turn on, but I think this may end up with the unit. What can this happening and how to solve?

    Time Capsule Airport
    Hello to all, good day, sorry my english google, but it is the tool I have at the moment. I'm having trouble with my Time Capsule Airport, I made all the settings according to the manual, but there has been a connection problem with my iMac. When I finish my work I turn off the imac and then again when they return to work and care, it can not connect to Time Capsule Airport, making it impossible to remove the files and make back up by Time Machine only works when I turn off and turn on the Airport Time Capsule , but I think this may end up with the unit. What can this happening and how to solve? Thank you.
    Olá a todos, bom dia, desculpe meu inglês google, mas é a ferramenta que tenho no momento. Estou tendo dificuldades com a minha Airport Time Capsule, fiz todas as configurações de acordo com o manual, mas tem existido um problema de conexão com meu iMac. Quando termino meus trabalhos desligo o imac e depois quando retorno pra trabalhar novamente e ligo, ele não se conecta a Airport Time Capsule, impossibilitando retirar os arquivos e fazer o back-up pelo Time Machine, só funciona quando desligo e ligo a Airport Time Capsule, mas acho que isso pode acabar com o aparelho. O que pode esta acontecendo e como resolver? Obrigado.

    This is easier to do with pictures perhaps.. since we do not share a common language and machine translation leaves a lot to be desired.
    In the airport utility bring up your Time Capsule.
    Simply post the screenshots here.
    So here is mine.
    Click on the Edit button and give us the Internet and Wireless and Network tab..
    eg.
    Please also make sure you are set to ipv6 in your wireless or ethernet .. whichever is used.. and do tell which.
    This is wifi in your computer.
    The following are important..
    DO not use long names with spaces and non-alphanumeric names.
    Use short names, no spaces and pure alphanumeric.
    eg TC name. TCgen5
    Wireless name TCwifi
    Use WPA2 Personal security with 10-20 character pure alphanumeric password.
    read apple instructions to help with TM and TC.. they did finally admit it has issues in Mavericks.
    OS X Mavericks: Time Machine problems
    Mount the TC manually in finder.
    AFP://TCgen5.local
    When asked for the password .. that is the disk access password and save it in the keychain.
    Reset Time Machine
    See A4 here. http://pondini.org/TM/Troubleshooting.html

  • I am trying to download an epub book from the library, which I have been doing for almost a year. Now I am being asked for my adobe id, which I enter and I get an error message stating Adobe Activation Request Error:2004.. What's this ?

    I am trying to download an epub book from the library, which I have been doing for almost a year. Now I am being asked for my adobe id, which I enter and I get an error message stating Adobe Activation Request Error:2004.. What's this ?

    I downloaded Blue Fire Reader and it requested an adobe id. I clicked on the link that was in the error message stated http//adeactivateadobe.com. Found out that if the date and time on my Ipad is wrong that it won't let me download a book. I was off 5 hours. I reset my clock settings and adobe id let me download a book from the library. I am back to using Overdrive and adobe again on my ipad.
    Thank you.

Maybe you are looking for

  • Private constructor in abap OO

    Hi folks, I'd like to create a factory method in a class. The factory method returns objects (corresponding to certain keys) of the class by first checking an internal map for the key and then returning the pertaining object if an entry for that key

  • TEXTAREA in JSP dosen't work

    TEXTAREA in JSP dosen't wrap to next line and I use the following syntax. <input type='textarea' name='code' rows='2' cols='30' style='width: 180px;height:30px'> when I type it keep wraping in the first line and dosen't go to 2nd line at all.

  • Flash Islands in WD4J - NW 7.01

    Hello, We are currently on NW 7.01 SP 05 (NW 7.0 Enhancement Package 1) for our Web AS JAva. My NWDS version is 7.01.05 I am trying to integrate a Flex application into SAP Portal using Web Dynpro for Java. I am following the article http://www.sdn.s

  • Auto start listener & DB in Linux

    Hello, I have installed oracle 10g on Red Hat 2.1 Ent. Ed. I have also modified the /etc/oratab file for auto starting the service. The service start auto but i have two problems, 1) The listener does not start automatically 2) When trying to connect

  • Ftp webroot problem

    I changed servers and not the remote ftp has webroot as the only way to put anything up. so instead of being www.site.org/about it is site/org/webroot/about....and nothing works. Thanks