Re: [TYPO3-english] MAMP, IM and TYPO3 not playing well together at all

2012-01-06 Thread Michael Cannon
Christian,

The path /opt/local/bin is in the PHP include, Apache path and reachable
supposedly by TYPO3.

The problem from my sample code is that there's no output from identify
when there should be.

Two other nearly identical computers are fine, but not this third.

Michael
--
Michael Cannon
The TYPO3 Vagabond http://typo3vagabond.com @ in2code.de
Been there, done that, 25 years of coding
Germany +49 (0)160 574 1973
US +1 617 539 6072
http://typo3vagabond.com





On Thu, Jan 5, 2012 at 12:55 PM, Christian Platt 
christian.pl...@pharmaline.de wrote:

 check the path to convert. Look in typo3 configuration which is set.

 convert is from imageMagick and needed for the graphcs.

 Ghostscript is needed for pdf conversion

 is it /usr/bin or where is it?


 btw... you dont have to use mamp. Macos comes (nearly) with all of it lin
 library/webserver/documents

 Christian

 Am 05.01.2012 um 12:30 schrieb Michael Cannon:

  I'm using the latest MAMP Pro and in turn ImageMagick and GraphicsMagick
  via MacPorts successfully on two other OS X 10.6 systems.
 
  On the third system, MAMP and TYPO3 play well fine, but for whatever
  reason, none of the IM/GM binaries are being reachable via TYPO3.
 
  I've created a test file with the following code to see if identify is
  reachable and outputs anythings.
 
  ?php
  error_reporting( E_ALL );
  $identify   = '/opt/local/bin/identify';
  var_dump( file_exists( $identify ) ); echo 'br /'; echo '' . __LINE__ .
  ':' . basename( __FILE__ )  . 'br /';
  var_dump( is_readable( $identify ) ); echo 'br /'; echo '' . __LINE__ .
  ':' . basename( __FILE__ )  . 'br /';
  var_dump( is_executable( $identify ) ); echo 'br /'; echo '' .
 __LINE__ .
  ':' . basename( __FILE__ )  . 'br /';
  print_r( stat( $identify ) ); echo 'br /'; echo '' . __LINE__ . ':' .
  basename( __FILE__ )  . 'br /';
  var_dump( exec( $identify ) ); echo 'br /'; echo '' . __LINE__ . ':' .
  basename( __FILE__ )  . 'br /';
  var_dump( system( $identify ) ); echo 'br /'; echo '' . __LINE__ . ':'
 .
  basen
  ame( __FILE__ )  . 'br /';
  phpinfo();
  ?
 
  The result of calling the script is.
  bool(true)br /4:pi.phpbr /bool(true) br /5:pi.phpbr /bool(true)
 br
  /6:pi.phpbr /Array ( [0] = 234881026 [1] = 1204258 [2] = 33261 [3]
 =
  1 [4] = 0 [5] = 80 [6] = 0 [7] = 9196 [8] = 1325762848 [9] =
  1324376166 [10] = 1325754258 [11] = 4096 [12] = 24 [dev] =
  234881026[ino] = 1204258[mode] = 33261[nlink] = 1[uid] = 0 [gid]
  = 80 [rdev] = 0 [size] = 9196 [atime] = 1325762848 [mtime] =
  1324376166[ctime] = 1325754258[blksize] = 4096 [blocks]
  = 24) br /7:pi.phpbr /string(0)  br /8:pi.phpbr /string(0)
 br
  /9:pi.phpbr /
  ... on to phpinfo() dump. Viewable at
  http://aihrus.inhouse.in2code.de/pi.php.
 
 
  As you can see, the web server can supposedly read and execute the
 identify
  file, but there's no output for any of the system or exec like commands.
 
  I've checked that php.ini allows for the exec functions to work, but to
 no
  avail.
 
  I really hope someone might have an idea here to help me.
 
  Michael
  --
  Michael Cannon
  The TYPO3 Vagabond http://typo3vagabond.com @ in2code.de
  Been there, done that, 25 years of coding
  Germany +49 (0)160 574 1973
  US +1 617 539 6072
  http://typo3vagabond.com
  ___
  TYPO3-english mailing list
  TYPO3-english@lists.typo3.org
  http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

 ___
 TYPO3-english mailing list
 TYPO3-english@lists.typo3.org
 http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] 4.5.3 backend is blank..

2012-01-06 Thread ktt
Hello,


On update of TYPO3 from 4.5.0 to 4.5.3 strange thing happened - backend become 
blank.
No errors in PHP nor in Apache logs, SQL and BE debug are silent as well.
typo3temp and temp_CACHED... were cleared as well.
Compression is set to false:
$TYPO3_CONF_VARS['FE']['compressionLevel'] = 'false';
 
It is interesting, that I can view the page source - it has data, but the page 
view is blank..:

link rel=stylesheet type=text/css 
href=../typo3temp/compressor/ext-all-notheme-f3e538d5a3cb1403e07738e2ca3fee64.css?1325841955
 media=all /
link rel=stylesheet type=text/css 
href=../typo3temp/compressor/xtheme-t3skin-032bf1f632675480ca89ee0f59b47411.css?1325841955
 media=all /

Maybe you would have some hints, since usual 'enable logs' do not give results 
this time.. 

Thank you in advance,
Kast

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] subdomains and menu

2012-01-06 Thread Marieke de Bruin
Hello list,

I have a TYPO3 installation with subdomain but I can't get the menu to work
right.

I create a menu from a directory for example:

entryLevel = 1
special = directory
special.value = 433

this is working fine but on my subdomain I want to have a different
special.value I tried with
[globalString = IENV:HTTP_HOST = sub.domain.com] but this isn't working

Does anyone know a way to do this?

Thanks in advance.

Marieke
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Subdomains crosslinking with realurl, single tree

2012-01-06 Thread Dmitri Pisarev

Dear list,
I've spent my whole day reading this list, but still with no success.
Here's my desired sentup:
Root page(domain.com)
--page A(sub.domain.com)
--page A2(sub.domain.com/page_A2)
--page B(domain.com/page_B)
...

All of the pages use the same template and just a different parts of 
same website.

I have done the following:
* Created the apropriate domain records.
* Set the config.typolinkEnableLinksAcrossDomains=1
* Set the Use as Root Page checkmark in the page properties.
* configured realurl for the subdomains with root_id and configuration.

Now links to page A are generated correctly(as sub.domain.com), but 
links to page A2 are generated as domain.com/page_A/page_A2 instead of 
sub.domain.com/page_A2


Basicly my question is similar to this (4 years old): 
http://old.nabble.com/Multidomain-setups-and-crosslinking---concept-td21082506.html

But I do not find the answer there...

Any ideas?

Regards,
Dmitri.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Subdomains crosslinking with realurl, single tree

2012-01-06 Thread Steffen Gebert

* configured realurl for the subdomains with root_id and configuration.

have you tried automatic configuration?


Kind regards
Steffen

--
Steffen Gebert
TYPO3 v4 Core Team Member
TYPO3 Server Administration Team Member

TYPO3  inspiring people to share!
Get involved: http://typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Read-only MySQL user?

2012-01-06 Thread Olivier Dobberkau
Am 06.01.12 03:35, schrieb yanagik...@netscape.net:

 This is because I'm trying to see what could be done to minimize
 downtime while upgrading.  We're planning on duplicating the production
 database and then running upgrade on it, which will then be the new
 production.  While doing all this, it would be nice if the entire site
 didn't have to go down entirely.

Hi!

You might look at MySQL Proxy for that too.

Olivier
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Read-only MySQL user?

2012-01-06 Thread Steffen Gebert

This is because I'm trying to see what could be done to minimize
downtime while upgrading. We're planning on duplicating the production
database and then running upgrade on it, which will then be the new
production. While doing all this, it would be nice if the entire site
didn't have to go down entirely.


You could also put a Varnish proxy in front your site, warm its caches 
up, and then take your site down for maintenance.


Kind regards
Steffen

--
Steffen Gebert
TYPO3 v4 Core Team Member
TYPO3 Server Administration Team Member

TYPO3  inspiring people to share!
Get involved: http://typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english