Anyone help with this, it's very wierd and I've run out of ideas.
I've manually disabled compiler by commenting out the 2 lines in includes/config.php, I've also deleted the includes/src and includes/stat directories to be complete but when I try to edit a product I get errors because magento is trying to include files in the compiled includes/src folder (which no longer exists)
I've also tried recompiling and accessing on the compiled site when I get another error.
Fatal error: require_once(): Failed opening required 'Mage/Adminhtml/Block/Widget/Grid.php' (include_path='/content/includes/src:.:/usr/share/pear:/usr/share/php') in /content/includes/src/Uni_Fileuploader_Block_Adminhtml_Widget_Grid.php on line 9
I'm figuring to sort the site so I can at least edit with the compiler disabled and then work through issues with compiled site but currently can't do either as magento seems to want to access compiled files even when compiler disabled.
running 1.7.0.2
Additionally - this may or may not be related.
When I run compiler.php from command line I get a bunch of warnings as follows but the compilation processes still seem to work.
PHP Warning: include(): realpath failed to canonicalize Mage/Core/Model/App.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Varien/Event/Collection.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Varien/Event/Observer/Collection.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Mage/Core/Model/Config.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Mage/Core/Model/Config/Base.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Varien/Simplexml/Config.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Mage/Core/Model/Config/Options.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Varien/Object.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Varien/Profiler.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Zend/Log.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Mage/Core/Model/Store/Exception.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Mage/Core/Exception.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Zend/Log/Formatter/Simple.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Zend/Log/Formatter/Interface.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Zend/Log/Writer/Stream.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Zend/Log/Writer/Abstract.php - bailing in /content/lib/Varien/Autoload.php on line 93
PHP Warning: include(): realpath failed to canonicalize Zend/Log/FactoryInterface.php - bailing in /content/lib/Varien/Autoload.php on line 93
About the second part of your question: are you using APC by any chance?
In this case this bug report may be relevant to you. To cut it short, edit your APC config, on Debian-based system in /etc/php5/conf.d/20-apc.ini and set:
apc.stat=1
Remember to clean APC and your magento cache and then try to run the compiler again.
I don't want to turn off apc.stat=1 because this function speeds up your installation. I have a fix, but it's not the greatest fix, because you need to change code in the core.
Go to the file "lib/Varien/Autoload.php" and scroll to line 93.
Change
return include $classFile;
With (not the most beautiful fix)
if (file_exists(realpath(dirname(dirname(dirname(__FILE__)))).'/app/code/core/'.$classFile) or
file_exists(realpath(dirname(dirname(dirname(__FILE__)))).'/app/code/community/'.$classFile) or
file_exists(realpath(dirname(dirname(dirname(__FILE__)))).'/app/code/local/'.$classFile) or
file_exists(realpath(dirname(dirname(dirname(__FILE__)))).'/lib/'.$classFile)) {
return require_once $classFile;
} else {
return include $classFile;
}
The reason i'm using the file_exists function is simple. The function include() gives an error if the included file doesn't exist and the script keeps running. The function require() gives also an error but stops running the script. With this fix Magento keeps running likes it always runs, but without the APC-cache error and if a included file doesn't exist your Magento installation keeps running and doesn't stop rendering.
You can also downgrade your APC extension. In the version 3.1.9 (last stable version) you don't get this error.
Related
I am running a perl script on a web server. I am getting the error in the httpd error log file:
/usr/bin/perl: symbol lookup error:
/usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so:
undefined symbol:
bp_sw_read_Blast_file_CompMat, referer: http://XX/model_select.pl
[Line breaks added for readability]
I checked some of the forums and did this:
cpanp -i /usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so
ERROR '/usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so' does not contain an author part
ERROR Cannot find '/usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so' in the module tree
No such module: /usr/local/lib64/perl5/auto/Bio/Ext/Align/Align.so
No modules found to operate on!
Nothing done
I checked, Align.so exists in the path shown in the error message
Can someone please help me solve the problem. Thanks much ! :-)
I cannot for the life of me figure out how to setup Bugzilla to send email using TLS. I got the Bugzilla site running, however, when I try to change my Bugzilla account email, the system fails with the following (I setup my email parameters to use my Amazon AWS email server):
An unexpected error occurred. This could be a temporary problem, or some code is behaving incorrectly. If this problem persists, please email this page to ...#.....com with details of what you were doing at the time this message appeared.
URL: http://example.com/userprefs.cgi?new_password1=&new_password2=&tab=account&old_login=jdoe%40example.com&realname=John%20Doe&new_login_name=johndoe422%40example.net&dosave=1&token=...&old_password=...
There was an error sending mail from 'bugzilla#example.com' to 'johndoe422#example.com': failed AUTH: Must issue a STARTTLS command first
Traceback:
at Bugzilla/Mailer.pm line 186.
Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/Token.pm line 116
Bugzilla::Token::IssueEmailChangeToken(...) called at /srv/www/bugzilla/userprefs.cgi line 120
main::SaveAccount(...) called at /srv/www/bugzilla/userprefs.cgi line 608
So I proceeded to try to fix this problem by following the instructions in: Bugzilla Alerts Using Gmail
I managed to install the Email::Send::SMTP::TLS module using cpanm (Not sure why I just cannot install any module via CPAN at all), after installation, the SMTP::TLS option does not appear in the drop-down. I just ignored it and continue to update Mailer.pm as instructed.
After that, when I refresh my bugzilla page, I get the following error:
Software error:
Global symbol "#args" requires explicit package name at Bugzilla/Mailer.pm line 138.
Global symbol "#args" requires explicit package name at Bugzilla/Mailer.pm line 144.
Compilation failed in require at Bugzilla/Auth.pm line 22.
BEGIN failed--compilation aborted at Bugzilla/Auth.pm line 22.
Compilation failed in require at Bugzilla.pm line 23.
BEGIN failed--compilation aborted at Bugzilla.pm line 23.
Compilation failed in require at /srv/www/bugzilla/editparams.cgi line 15.
BEGIN failed--compilation aborted at /srv/www/bugzilla/editparams.cgi line 15.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
I've read that perhaps it is because Email::Send::SMTP::TLS requires Net::SSLeay package. So I proceed to try to install it using cpanm. However, cpanm fails with the following log:
23 *** Found OpenSSL-1.0.1f installed in /usr
24 *** Be sure to use the same compiler and options to compile your OpenSSL, perl,
25 and Net::SSLeay. Mixing and matching compilers is not supported.
26 Do you want to run external tests?
27 These tests *will* *fail* if you do not have network connectivity. [n] n
28 Checking if your kit is complete...
29 Looks good
30 Generating a Unix-style Makefile
31 Writing Makefile for Net::SSLeay
32 Writing MYMETA.yml and MYMETA.json
33 -> OK
34 Checking dependencies from MYMETA.json ...
35 Checking if you have Test::More 0.60_01 ... Yes (1.001014)
36 Checking if you have MIME::Base64 0 ... Yes (3.13)
37 Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10)
38 Building and testing Net-SSLeay-1.72
39 cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm
40 AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
41 blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
42 directory blib/lib/auto/Net/SSLeay:
43 do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
44 do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
45 get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
46 head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
47 post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
48 put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
49 ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
50 ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
51 tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
52 tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
53 cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
54 cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod
55 Running Mkbootstrap for Net::SSLeay ()
56 chmod 644 "SSLeay.bs"
57 "/usr/bin/perl" "-Iinc" "/usr/share/perl/5.18/ExtUtils/xsubpp" -typemap "/usr/share/perl/5.18/ExtUtils/typemap" -typemap "typemap" SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSL eay.c
58 cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.72\" -DXS_VERSION=\"1.72\" -fPIC "-I/usr/lib/perl/5.18/CORE" SSLeay.c
59 {standard input}: Assembler messages:
60 {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
61 cc: internal compiler error: Killed (program cc1)
62 Please submit a full bug report,
63 with preprocessed source if appropriate.
64 See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
65 make: *** [SSLeay.o] Error 4
66 -> FAIL Installing Net::SSLeay failed. See /home/ubuntu/.cpanm/work/1443609644.32449/build.log for details. Retry with --force to force install it.
I do not know perl and cannot figure out why I'm getting errors left and right.
I read in many places that I can simply install all available packages using command like:
/usr/bin/perl install-module.pl --all
However, this command does not work for me. (I can't install any modules using CPAN at all, not sure why) It pretty much just does nothing for me. This is the output I get when execute install-module.pl:
ubuntu#ip-10-130-10-107:/srv/www/bugzilla$ sudo /usr/bin/perl install-module.pl --all
Checking for CPAN (v1.81) ok: found v2.10
Checking for YAML (any) ok: found v1.15
Checking for ExtUtils-MakeMaker (v6.31) ok: found v7.1
defined(#array) is deprecated at /usr/share/perl5/Chart/Base.pm line 181.
(Maybe you should just omit the defined()?)
defined(#array) is deprecated at /usr/share/perl5/Chart/Base.pm line 233.
(Maybe you should just omit the defined()?)
Reading '/home/ubuntu/.cpan/Metadata'
Fetching with LWP:
http://cpan.mirror.vexxhost.com/authors/01mailrc.txt.gz
Reading '/home/ubuntu/.cpan/source/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://cpan.mirror.vexxhost.com/modules/02packages.details.txt.gz
Reading '/home/ubuntu/.cpan/source/modules/02packages.details.txt.gz'
Database was generated on Wed, 30 Sep 2015 09:53:42 GMT
..........ubuntu#ip-10-130-10-107:/srv/www/bugzilla$
I'm not sure why things just don't work for me. Do I have a faulty perl installation or what? Can some perl guru please help?
Thanks!
Solved the issue by killing my Bugzilla installation (5.0.1) and completely re-install an older version (4.4.10). Things just worked with the previous version.
I fought with the same problem, with Bugzilla 5, for half a day. I did not have any success getting STARTTLS to work, which is odd, because it's the standard way to send email these days. I finally gave up and activated SMTPS (port 465) on my Postfix server. It was very easy to do this, and once I did it, Bugzilla could send emails easily. If you have control over the mail server, this is an easier approach because life is too short to spend it reading through perl code. Edit: all these years later, STARTTLS still doesn't work on Bugzilla. I tried installing libnet-smtp-tls-butmaintained-perl which some suggested, but that didn't help. For those finding this post, give up and use smtps.
When I try to install the Inline package with cpan via cpan> install Inline I get the following error at the end:
make: *** [test_dynamic] Error 255
SISYPHUS/Inline-0.53.tar.gz
/opt/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SISYPHUS/Inline-0.53.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
SISYPHUS/Inline-0.53.tar.gz : make_test NO
Here is the complete installation log:
cpan[1]> install Inline
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.008)
CPAN: YAML loaded ok (v0.88)
Going to read /root/.cpan/build/
............................................................................DONE
Found 1 old build, restored the state of 1
............................................................................DONE
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Wed, 08 Jan 2014 07:41:07 GMT
HTTP::Date not available
..............
New CPAN.pm version (v2.00) available.
[Currently running version is v1.9205]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
CPAN: Time::HiRes loaded ok (v1.9711)
..............................................................DONE
Going to read /root/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write /root/.cpan/Metadata
Running install for module 'Inline'
Running make for S/SI/SISYPHUS/Inline-0.53.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Inline-0.53-gk9HIk
Has already been made
Running make test
make[1]: Entering directory `/root/.cpan/build/Inline-0.53-gk9HIk/C'
make[1]: Leaving directory `/root/.cpan/build/Inline-0.53-gk9HIk/C'
PERL_DL_NONLAZY=1 /share/MD0_DATA/.qpkg/Optware/bin/perl5.10.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00init...............ok
t/01usages.............couldn't find diagnostic data in /opt/lib/perl5/5.10.0/pods/perldiag.pod blib/lib . /root/.cpan/build/Inline-0.53-gk9HIk/blib/lib /root/.cpan/build/Inline-0.53-gk9HIk/blib/arch /opt/lib/perl5/5.10.0/arm-linux /opt/lib/perl5/5.10.0 /opt/lib/perl5/site_perl/5.10.0/arm-linux /opt/lib/perl5/site_perl/5.10.0/arm-none-linux-gnueabi /opt/lib/perl5/site_perl/5.10.0 t/01usages.t at /opt/lib/perl5/5.10.0/diagnostics.pm line 268, <POD_DIAG> line 647.
Compilation failed in require at t/01usages.t line 5, <POD_DIAG> line 647.
BEGIN failed--compilation aborted at t/01usages.t line 5, <POD_DIAG> line 647.
t/01usages.............dubious
Test returned status 9 (wstat 2304, 0x900)
t/02config.............couldn't find diagnostic data in /opt/lib/perl5/5.10.0/pods/perldiag.pod blib/lib . /root/.cpan/build/Inline-0.53-gk9HIk/blib/lib /root/.cpan/build/Inline-0.53-gk9HIk/blib/arch /opt/lib/perl5/5.10.0/arm-linux /opt/lib/perl5/5.10.0 /opt/lib/perl5/site_perl/5.10.0/arm-linux /opt/lib/perl5/site_perl/5.10.0/arm-none-linux-gnueabi /opt/lib/perl5/site_perl/5.10.0 t/02config.t at /opt/lib/perl5/5.10.0/diagnostics.pm line 268, <POD_DIAG> line 647.
Compilation failed in require at t/02config.t line 5, <POD_DIAG> line 647.
BEGIN failed--compilation aborted at t/02config.t line 5, <POD_DIAG> line 647.
t/02config.............dubious
Test returned status 9 (wstat 2304, 0x900)
t/03errors.............couldn't find diagnostic data in /opt/lib/perl5/5.10.0/pods/perldiag.pod blib/lib . /root/.cpan/build/Inline-0.53-gk9HIk/blib/lib /root/.cpan/build/Inline-0.53-gk9HIk/blib/arch /opt/lib/perl5/5.10.0/arm-linux /opt/lib/perl5/5.10.0 /opt/lib/perl5/site_perl/5.10.0/arm-linux /opt/lib/perl5/site_perl/5.10.0/arm-none-linux-gnueabi /opt/lib/perl5/site_perl/5.10.0 t/03errors.t at /opt/lib/perl5/5.10.0/diagnostics.pm line 268, <POD_DIAG> line 647.
Compilation failed in require at t/03errors.t line 5, <POD_DIAG> line 647.
BEGIN failed--compilation aborted at t/03errors.t line 5, <POD_DIAG> line 647.
t/03errors.............dubious
Test returned status 9 (wstat 2304, 0x900)
t/04create.............couldn't find diagnostic data in /opt/lib/perl5/5.10.0/pods/perldiag.pod blib/lib . /root/.cpan/build/Inline-0.53-gk9HIk/blib/lib /root/.cpan/build/Inline-0.53-gk9HIk/blib/arch /opt/lib/perl5/5.10.0/arm-linux /opt/lib/perl5/5.10.0 /opt/lib/perl5/site_perl/5.10.0/arm-linux /opt/lib/perl5/site_perl/5.10.0/arm-none-linux-gnueabi /opt/lib/perl5/site_perl/5.10.0 t/04create.t at /opt/lib/perl5/5.10.0/diagnostics.pm line 268, <POD_DIAG> line 647.
Compilation failed in require at t/04create.t line 5, <POD_DIAG> line 647.
BEGIN failed--compilation aborted at t/04create.t line 5, <POD_DIAG> line 647.
t/04create.............dubious
Test returned status 9 (wstat 2304, 0x900)
t/05files..............couldn't find diagnostic data in /opt/lib/perl5/5.10.0/pods/perldiag.pod blib/lib . /root/.cpan/build/Inline-0.53-gk9HIk/blib/lib /root/.cpan/build/Inline-0.53-gk9HIk/blib/arch /opt/lib/perl5/5.10.0/arm-linux /opt/lib/perl5/5.10.0 /opt/lib/perl5/site_perl/5.10.0/arm-linux /opt/lib/perl5/site_perl/5.10.0/arm-none-linux-gnueabi /opt/lib/perl5/site_perl/5.10.0 t/05files.t at /opt/lib/perl5/5.10.0/diagnostics.pm line 268, <POD_DIAG> line 647.
Compilation failed in require at t/05files.t line 5, <POD_DIAG> line 647.
BEGIN failed--compilation aborted at t/05files.t line 5, <POD_DIAG> line 647.
t/05files..............dubious
Test returned status 9 (wstat 2304, 0x900)
t/06rewrite_config.....ok
t/07rewrite2_config....ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/01usages.t 9 2304 ?? ?? ??
t/02config.t 9 2304 ?? ?? ??
t/03errors.t 9 2304 ?? ?? ??
t/04create.t 9 2304 ?? ?? ??
t/05files.t 9 2304 ?? ?? ??
Failed 5/8 test scripts. 0/5 subtests failed.
Files=8, Tests=5, 3 wallclock secs ( 2.30 cusr + 0.14 csys = 2.44 CPU)
Failed 5/8 test programs. 0/5 subtests failed.
make: *** [test_dynamic] Error 255
SISYPHUS/Inline-0.53.tar.gz
/opt/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SISYPHUS/Inline-0.53.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
SISYPHUS/Inline-0.53.tar.gz : make_test NO
Unfortunately I'm a newbie to cpan and perl, so I don't know how to resolve this issue. I already tried to reinstall perl but with no success.
If it is important for you I'm running this on my QNAP NAS TS-419P+:
[~] # uname -a
Linux QNAP 2.6.33.2 #1 Fri Jul 26 04:41:05 CST 2013 armv5tel unknown
Here is the perl version I'm using:
[~] # perl --version
This is perl, v5.10.0 built for arm-none-linux-gnueabi
As DavidO wrote, the test fails at use diagnostics; You can check this by executing this line by itself (perl -e 'use diagnostics;').
diagnostics.pm tries to read diagnostic messages from perldiag.pod (which is mentioned in the error message).
Looks like it's missing on your system.
So, you need to install the package with that file (or otherwise get it to the specified path) of the version corresponding to your Perl's. E.g. in Cygwin, it's in the perl_pods package which, you guessed it, is not installed by default.
Investigating the first error first is always a good course of action. In this case, that's the following:
couldn't find diagnostic data in
(long list of paths excluded from copy/paste)
Compilation failed in require at t/01usages.t line 5,
Looking at the distribution's source code we find that line 5 of t/01usages.t is:
use diagnostics;
The diagnostics pragma is part of the core Perl distribution. For diagnostics to be missing necessary files indicates that the problem is that your installation of Perl is either broken or incomplete (which is the subset of "broken" most likely to be at cause here). Resolve that issue first.
brian's Guide to Solving Any Perl Problem: "Solve the first problem first." In this case, in doing so, we discover the problem is unrelated to the module, and instead, related to the quality of your Perl installation.
When attempting to use the CPAN command line, I am unable to either reload index or install any modules. There is an error with SQLite. If I disable the use of SQLite, I get a different error. Both are listed below. Has anyone found this problem before? How did you fix it?
"""WITH SQLITE"""
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Creating database file ...
Gathering information from index files ...
fetch_info() failed! at C:\strawberry\perl\vendor\lib/CPAN/SQLite/Index.pm line
57, <DATA> line 58.
Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62, <DATA> line 58. CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l ine 329, <DATA> line 58. Catching error: "system C:\\strawberry\\perl\\bin\\perl.exe -MCPAN::SQLite::META =setup,update -e setup failed: 5632 at C:\\strawberry\\perl\\vendor\\lib/CPAN/SQ Lite/META.pm line 323.\cJ" at C:/strawberry/perl/lib/CPAN.pm line 391 CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295 App::Cpan::_process_options('App::Cpan') called at C:/strawberry/perl/li b/App/Cpan.pm line 364 App::Cpan::run('App::Cpan') called at C:\strawberry\perl\bin/cpan line 8 """USERANDPASS"""
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Creating database file ...
Gathering information from index files ...
fetch_info() failed! at C:\strawberry\perl\vendor\lib/CPAN/SQLite/Index.pm line
57, <DATA> line 58.
Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62, <DATA>
line 58.
CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l
ine 329, <DATA> line 58.
Catching error: "system C:\\strawberry\\perl\\bin\\perl.exe -MCPAN::SQLite::META
=setup,update -e setup failed: 5632 at C:\\strawberry\\perl\\vendor\\lib/CPAN/SQ
Lite/META.pm line 323.\cJ" at C:/strawberry/perl/lib/CPAN.pm line 391
CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295
App::Cpan::_process_options('App::Cpan') called at C:/strawberry/perl/li
b/App/Cpan.pm line 364
App::Cpan::run('App::Cpan') called at C:\strawberry\perl\bin/cpan line 8
"""WITHOUT SQLITE"""
Going to read 'C:\strawberry\cpan\sources\modules\02packages.details.txt.gz'
Warning: Your C:\strawberry\cpan\sources\modules\02packages.details.txt.gz does
not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your C:\strawberry\cpan\sources\modules\02packages.details.txt.gz does
not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Could not split line["\cI<head>"]
...Could not split line["\cI</head>"]
Could not split line["\cI<body bgcolor=\"#ffffff\">"]
Could not split line["\cI<script language=\"javascript\">"]
Giving up parsing your C:\strawberry\cpan\sources\modules\02packages.details.txt
.gz, too many errorsGoing to read 'C:\strawberry\cpan\sources\authors\01mailrc.t
xt.gz'
............................................................................DONE
Going to read 'C:\strawberry\cpan\sources\modules\02packages.details.txt.gz'
Warning: Your C:\strawberry\cpan\sources\modules\02packages.details.txt.gz does
not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your C:\strawberry\cpan\sources\modules\02packages.details.txt.gz does
not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Could not split line["\cI<head>"]
...Could not split line["\cI</head>"]
Could not split line["\cI<body bgcolor=\"#ffffff\">"]
Could not split line["\cI<script language=\"javascript\">"]
Giving up parsing your C:\strawberry\cpan\sources\modules\02packages.details.txt
.gz, too many errorsLockfile removed.
You don't need to reinstall Strawberry anytime you have a problem. I know this is Windows, but life is better than that. Try deleting C:\strawberry\cpan\sources\modules\02packages.details.txt.gz, which appears to be corrupted. CPAN.pm should re-download it if it is missing.
I had the same problem and found the answer on this site. The problem can be solved by temporarily suspending the use of SQLite by CPAN and then updating the module that it uses it with. From the command line:
cpan
cpan> o conf use_sqlite 0
cpan> o conf commit
cpan> reload index
cpan> install CPAN::SQLite
cpan> o conf use_sqlite 1
cpan> o conf commit
cpan> ...
Warning: include_once(Zend/Http/Client.php) [function.include-once]: failed to open stream: No such file or directory in /home/hotbuzz/public_html/include/Zend/Loader.php on line 83
Warning: include_once() [function.include]: Failed opening 'Zend/Http/Client.php' for inclusion (include_path='/home/hotbuzz/public_html/include;.:/usr/lib/php:/usr/local/lib/php') in /home/hotbuzz/public_html/include/Zend/Loader.php on line 83
Warning: require_once(Zend/Exception.php) [function.require-once]: failed to open stream: No such file or directory in /home/hotbuzz/public_html/include/Zend/Loader.php on line 87
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Exception.php' (include_path='/home/hotbuzz/public_html/include;.:/usr/lib/php:/usr/local/lib/php') in /home/hotbuzz/public_html/include/Zend/Loader.php on line 87
Always get this error when i use image upload in the script .. I m using Zend Framework .. I i dont know what to do ?
My Zend path : public_html/include/zend
phpinfo : hotbuzz.in/phpinfo.php
I have not configured path to Zend in .htaccess
?
try this
set_include_path(dirname(realpath(__FILE__)).PATH_SEPARATOR.get_include_path());
Does your include path point to the library files or just the root of the Zend project. The include path needs to point to the directory that contains the directory structure
Zend
Acl
Auth
etc...
which maybe the library directory of the files you downloaded.
There is something weird in your include path ;.:
I think you probably have use the syntax of windows in a linux server.
You should use PATH_SEPARATOR the be sure that you will have the right one on every server.