| 00:17 |
mac3 |
hi |
| 00:19 |
mac3 |
does someone know what the config setting is, in order to hide the page tree for own backend extensions? |
| 00:21 |
schabracke |
how can i deactivate caching for the sk_pagecomments teaser? |
| 00:22 |
schabracke |
it always caches the first tt_news id and then displays every other comment on this id |
| 00:24 |
mac3 |
afaik you can only disable the cache page-wide |
| 00:24 |
mac3 |
that means for a single page |
| 00:24 |
mac3 |
and for the sub-pages |
| 00:25 |
schabracke |
yeah i just tried that, u mean the option in page propertys |
| 00:25 |
schabracke |
properties |
| 00:25 |
schabracke |
but do u know what i mean? if i click on the first teased comment it works |
| 00:26 |
schabracke |
and all other comments do have the right link but the result is the same news article |
| 07:10 |
prabhupada101 |
hello |
| 07:10 |
prabhupada101 |
anybody there? |
| 08:53 |
coolguy |
hi there, iam developing an extension and i use my own database |
| 08:54 |
coolguy |
can somebody explain me how to use the second one? when i connect to it, typo3 cannot render further because its disconnected from its own db |
| 08:56 |
sorenmalling |
coolguy: Run the connect database function in the $GLOBALS['TYPO3_DB'] after you are done with your own database thing |
| 08:56 |
coolguy |
you mean: $GLOBALS['TYPO3_DB']->sql_select_db(TYPO3_db); |
| 08:56 |
coolguy |
? |
| 08:56 |
gerards |
coolguy: check out adodb extension. |
| 08:57 |
gerards |
coolguy: I guess you're trying to access 2 different DBs on a single page is that correct? |
| 08:57 |
coolguy |
yes. the content on the page is rendered with my own db, but the rest goes over typo3 db |
| 08:57 |
gerards |
coolguy: I currently read off the mysql db for the standard typo3 tables, and use ADODB to access a postgresql db (on another host) for my application domain needs. |
| 08:58 |
gerards |
check out adodb extension (i believe its a system extension). It should help you get off on the right foot. |
| 09:00 |
coolguy |
is i tok to use pdo? |
| 09:01 |
gerards |
what's pdo? |
| 09:01 |
coolguy |
php data objects |
| 09:01 |
gerards |
oh... I don't know. :) is pdo a kind of ORM? object relational mapping? |
| 09:03 |
coolguy |
http://de3.php.net/manual/en/intro.pdo.php |
| 09:03 |
coolguy |
but it has nothing to do with typo3 |
| 09:04 |
gerards |
alright coolguy I'll take a look at it later. I doubt that will work with adodb. |
| 09:05 |
gerards |
coolguy adodb is just designed to allow you to have more than one database connection per page load. |
| 09:05 |
coolguy |
adodb is an typo3 extension? |
| 09:06 |
gerards |
yes. I believe its a system extension. |
| 09:06 |
gerards |
that means that its included out of the box. you just need to install it (iirc) |
| 09:07 |
gerards |
looking at the pdo's prepared statements. :) it seems a little useless for a script language like php right? I mean, after the script executes (in our case typo3), the database connection is closed, so what's the use of prepared statements? |
| 09:08 |
gerards |
anyway, I haven't really looked at pdo right now, so its just an initial reaction. :) I'll read up on it after work... thanks for the intro to PDO. |
| 09:10 |
ndee |
hi there, I have created a translation for a language which wasn't available for an extension. How can I activate that translation since I get a N/A from the translation manager for said extension. |
| 09:14 |
dokma |
ndee: how did you create it? |
| 09:16 |
coolguy |
is it possible to access the vars of localconf.php in my extension? |
| 09:16 |
ndee |
dokma: I just copied the structure and replaced the language key. |
| 09:17 |
gerards |
coolguy: why don't you try it. |
| 09:17 |
dokma |
ndee: it should have been added to the original file |
| 09:17 |
dokma |
then it becomes active immediately |
| 09:17 |
dokma |
ndee: did you hear about llxml extension? |
| 09:18 |
ndee |
nope, I jsut know about the ext/i10n/EXTENSIONNAME/ stuff and the locallang files in the extension directories. |
| 09:18 |
dokma |
ndee: go look it up |
| 09:18 |
dokma |
it server for translation |
| 09:18 |
dokma |
serves |
| 09:19 |
ndee |
hm, somehow, it doesn't recognize the translations |
| 09:21 |
ndee |
dokma: I do have the translations already. |
| 09:21 |
dokma |
ndee: llxml is for adding new ones |
| 09:21 |
ndee |
dokma: do you mean llxmltranslate ? |
| 09:23 |
dokma |
ndee: yes |
| 10:00 |
m4rtijn |
hi |
| 10:11 |
ndee |
translations working, nice :) anyone knows how I can remove the <p class="bodytext"></p> wrap ONLY in a table? |
| 10:59 |
joh316 |
hi |
| 11:00 |
joh316 |
anybody know how to find and use user id from felogin plugin, into self made extension...so how I can access to that user id, I want upon logging in of the user to pass that parameter as get param |
| 11:02 |
sorenmalling |
$GLOBALS['TSFE']->fe_user->user['uid'] afaik |
| 11:05 |
gerards |
wow.... sorenmalling I'm impressed. you actually remembered that. :D |
| 11:06 |
sorenmalling |
:) |
| 11:06 |
sorenmalling |
I used it the last couple of days in a extension :P |
| 11:07 |
gerards |
ahhh.... |
| 11:17 |
joh316 |
@sorenmalling thnx a lot, worked like charm |
| 11:17 |
sorenmalling |
Good to hear :) |
| 11:18 |
joh316 |
;) |
| 11:28 |
cushiongrip |
hi everyone |
| 11:55 |
MasterYin |
hey everyone :) |
| 11:57 |
Bluespuke |
hello friends |
| 11:58 |
MasterYin |
still looking for the reson why the crawler didn't want to crwal the root page still got the error "http://www.myDomain.de// (tx_indexedsearch_reindex) => Error checking Crawler Result: Error! Error! The requested page does not exist! ..." |
| 11:58 |
Bluespuke |
i'm trying to make a conditional menu only when the current page has subpages |
| 11:58 |
MasterYin |
reson = reason |
| 11:59 |
Bluespuke |
isn't there a condition in typoscript to ceck this? |
| 12:00 |
MasterYin |
yes there is... |
| 12:00 |
MasterYin |
*looking for+ |
| 12:01 |
Bluespuke |
MasterYin: could you trow me the bone please? |
| 12:01 |
MasterYin |
*searching for* |
| 12:01 |
MasterYin |
<-- is admin of 13 cores :) should search the right one :) |
| 12:06 |
MasterYin |
Bluespuke: I'm really sorry but I can not find the right system atm. checking it later again. got a "date" now for lunch |
| 12:07 |
Bluespuke |
kk... btw, i found something with google in support.typo3.org but the page seems offline x) |
| 12:11 |
pmk65 |
Bluespuke: use the IFSUB property. |
| 12:13 |
Bluespuke |
pmk65: it's not in the same HMENU, can i use this anyway? |
| 12:13 |
pmk65 |
if it's the same pagestructure, then you should be able to. But if it's a seperate menu, why don't you just set the entryLevel ? |
| 12:14 |
pmk65 |
Another way is to use the "numRows" property to check if there's subpages. |
| 12:14 |
Bluespuke |
problem is that the second menu only should show up when there are subpages |
| 12:15 |
Bluespuke |
i think i got a solution, gonna try it and post the code if it works ;-) |
| 12:36 |
joh316 |
another question |
| 12:36 |
joh316 |
If I have some existing extension |
| 12:37 |
joh316 |
and I want to add new classes in pi1 folder, can I do that straight forward or need to use kickstarter |
| 12:37 |
joh316 |
just want to write set of my functions |
| 12:37 |
joh316 |
instead of expand existing class on more than 1k rows :D |
| 12:49 |
joh316 |
anyone? |
| 12:50 |
sorenmalling |
Just create your own file, copy the class.tx_ext_pi1.php and rename it and change the the "pi1" to something else inside the file |
| 12:51 |
joh316 |
thnx |
| 13:41 |
sorenmalling |
realurl and calendar base, anyone? |
| 13:56 |
fuchur |
someone knows, how to inject JS in backend module? |
| 14:24 |
sperber |
hi there |
| 14:24 |
sperber |
is support.typo3.org down? |
| 14:24 |
Bluespuke |
looks so... |
| 14:24 |
ries |
already for ages |
| 14:24 |
Bluespuke |
let the page load, in 15 mins it is ready ;-) |
| 14:27 |
Bluespuke |
someone know a way to do something like this: [treeLevel = 2] && [currentPage.hasSubpages()] |
| 14:32 |
sperber |
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in typo3_src-4.2.6/t3lib/class.t3lib_db.php on line 796 <- someone ever seen that kind of error? |
| 14:32 |
sperber |
well, warning |
| 14:32 |
ries |
sperber: turn on SQL Debugging in the install tool to see what caused that warning |
| 14:35 |
Atlantys33 |
Hi |
| 14:37 |
Atlantys33 |
Is there a possibility to modify the number of image file (actually 3) u can send throw the browser file list when you edit a tt_content pic or textpic ? |
| 14:38 |
sperber |
ries: that helped - thanks :) |
| 14:39 |
Bluespuke |
damn there has to be a way to get the number of subpages in a condition :( |
| 14:41 |
ries |
Bluespuke: As far as I know, not with standard TS... but it should be fairly straight forward to create a PHP function |
| 14:45 |
Bluespuke |
and what to put into the userFunc? |
| 14:45 |
Bluespuke |
something like t3lib_treeView->getCount($uid) ? |
| 14:49 |
jbaptiste_j |
greetings |
| 14:52 |
ries |
Bluespuke: I wouldn't know that from the top of my head... |
| 14:53 |
ries |
Bluespuke: you could do it by SQL also, would be straight foreward |
| 14:54 |
ries |
Bluespuke: what are you trying to accomplish? |
| 14:55 |
maholtz |
@sperber: install tool -> database analyser |
| 14:55 |
Bluespuke |
i have 2 HMENU but the second should be created when the current page is on treeLevel=2 AND has subpages, ELSE it should output simple text |
| 14:56 |
maholtz |
@bluespuke: userfunction or combine condition with an if statement lib.something = COA ...1 = TEXT ...1.if... 2 = TEXT ..2.if.negate = 1 |
| 14:56 |
ries |
Bluespuke: Top of my head (I am not a guru pmk65 is) you set a condition for level 2, and in your HMENU you set a condition if.true or something to let the menu render or not when it has ub-pages |
| 14:56 |
ries |
maholtz: knows better then me :) |
| 14:57 |
Bluespuke |
ries: exactly what i have now. but i need the ELSE output :s |
| 14:57 |
Bluespuke |
maybe i should do other projects today, i'm not really getting anything :s |
| 14:58 |
maholtz |
@Bluespuke: perhaps paste your code in pastebin |
| 14:59 |
Bluespuke |
actually i have this: http://paste.phlogi.net/-3c386da51d/ |
| 15:01 |
Bluespuke |
i would like to have something like [treeLevel = 2] && [currentPage.hasChilds()] |
| 15:06 |
ries |
Bluespuke to be honest, I would create that hasSubpages() function..... |
| 15:06 |
ries |
but I am not a TS guru... |
| 15:07 |
Bluespuke |
that's was i'm trying to accomplish atm |
| 15:07 |
ries |
and so you can get on with your work... |
| 15:07 |
jbaptiste_j |
I heard the smile workflow doesnt work with current Typo3 why isn't it tagged as obsolete in the TER ? |
| 15:17 |
maholtz |
@Bluespuke: can't you use required = 1 ? (than you have to use stdWrap.wrap instead of wrap on TMENU |
| 15:19 |
Bluespuke |
tyvm ries , this helped me |
| 15:19 |
Bluespuke |
now it's working |
| 15:19 |
Bluespuke |
(code follow in 2 sec) |
| 15:22 |
Bluespuke |
http://paste.phlogi.net/-c6ce000442/ |
| 16:35 |
ries |
Bluespuke: glad to hear, I would use mysql_fetch_assoc though.. be aware that if you add a second mysql DB over DBAL you properly will end up with problems |
| 16:36 |
ries |
ndee: ping |
| 16:51 |
ndee |
pong :D |
| 16:53 |
Bluespuke |
table tennis |
| 16:53 |
Bluespuke |
xD |
| 16:54 |
ndee |
I love table tennis! |
| 16:54 |
compojoom |
hey guys! Does anyone know how to check if a constant is set? |
| 16:54 |
compojoom |
typoscript constant |
| 16:54 |
compojoom |
? |
| 16:56 |
ries |
My cat always plays ping pong papel |
| 16:57 |
compojoom |
lol |
| 16:57 |
ries |
compojoom: I don't believe it's possible similar to the isset function in PHP...usually a constant has a default value |
| 16:58 |
compojoom |
ok, can I check if it has some value |
| 16:58 |
compojoom |
if (constant == 1) do something |
| 16:58 |
ries |
yes you can... |
| 16:58 |
ries |
>0 for example works |
| 16:58 |
compojoom |
I want to set a constant on a specific page and if this constant is set, then the global template should add a javascript for example |
| 16:58 |
compojoom |
but how? |
| 16:58 |
compojoom |
{$myconstant} > 0 or what? |
| 16:59 |
ries |
compojoom: I would use default 0 for that constant, added on the main template |
| 16:59 |
ries |
then use TS to check if it's not 0 |
| 16:59 |
compojoom |
what is the right syntax for this? |
| 17:15 |
pmk65 |
compojoom: the easiest solution would be to set the constant to #, and then place it in front of every TS line of the TS object.. |
| 17:16 |
compojoom |
pmk65: I absolutly don't understand you |
| 17:16 |
compojoom |
let us say that I have a constant checkme |
| 17:16 |
compojoom |
how can I check this constant in TS? |
| 17:16 |
compojoom |
if.isTrue.{$checkme} ??? |
| 17:17 |
compojoom |
or how |
| 17:17 |
pmk65 |
you donøt need to check it if you just want to enable/disable a TS part. |
| 17:17 |
compojoom |
if the checkme variable is set, I just want to add some javascript to the template |
| 17:18 |
pmk65 |
here's an example: http://paste.phlogi.net/-cd251af077/ |
| 17:18 |
compojoom |
140 = TEXT |
| 17:18 |
compojoom |
140.value ( |
| 17:18 |
compojoom |
<script type="text/javascript" src="js/autoslide.js"></script> |
| 17:18 |
compojoom |
) |
| 17:18 |
pmk65 |
if the "myconstant" is # then no ouput is shown, if the constant is set to nothing, then output is shown. |
| 17:19 |
compojoom |
{$checkme}.140 = TEXT |
| 17:19 |
compojoom |
{$checkme}140 = TEXT |
| 17:19 |
compojoom |
aa |
| 17:19 |
compojoom |
hm i get the idea |
| 17:20 |
compojoom |
but isn't this generating an typoscript eror? |
| 17:20 |
compojoom |
aah it is a comment |
| 17:20 |
compojoom |
hm interesting |
| 17:20 |
compojoom |
let me try it |
| 17:20 |
pmk65 |
yup. that's the "trick" if it's "#" then its treated as comment. |
| 17:22 |
compojoom |
{$user.autoslide}140 = TEXT |
| 17:22 |
compojoom |
{$user.autoslide}140.value ( |
| 17:22 |
compojoom |
<script type="text/javascript" src="js/autoslide.js"></script> |
| 17:22 |
compojoom |
) |
| 17:22 |
compojoom |
it doesn't work |
| 17:22 |
compojoom |
user.autoslide is set to # |
| 17:23 |
pmk65 |
you need it for all 4 lines. |
| 17:23 |
compojoom |
aaa no |
| 17:23 |
compojoom |
sorry it is working |
| 17:23 |
compojoom |
I had set user.autoslide in the main.template |
| 17:23 |
compojoom |
but I'm overriding it |
| 17:23 |
compojoom |
on the special page with 1 |
| 17:24 |
compojoom |
so at the end i have 1140 :) |
| 17:24 |
compojoom |
and that is why it was working |
| 17:24 |
compojoom |
thank you! |
| 17:26 |
pmk65 |
you could also do it with conditions and if.isTrue, but this way is much faster, as it doen't need to call any PHP functions to do the check. |
| 17:27 |
compojoom |
thank you, this is really a clever solution :) |
| 17:34 |
joh316 |
hello |
| 17:34 |
nd__ |
I'm trying to set a .mask = file.png on a IMAGE object. Anything special? |
| 17:34 |
joh316 |
can anybody explain me, why I get this message while attemting to retreive data from fe_user table |
| 17:34 |
joh316 |
NO entry in the $TCA-array for the table "fe_user". This means that the function enableFields() is called with an invalid table name as argument. |
| 17:35 |
phil1 |
joh316: do a compage in install tool |
| 17:35 |
phil1 |
compare |
| 17:36 |
ries |
joh316: better yet, delete the cache files in typo3temp while you are on it... |
| 17:37 |
ries |
sry, typo3conf |
| 17:37 |
joh316 |
don't know if I have privileges for that....what exactly compare does |
| 17:37 |
ries |
joh316: it checks your DB what TYPO3 thinks it should be |
| 17:37 |
ries |
But if you get NO entry in the $TCA-array for the table "fe_user". , something funny is going on |
| 17:37 |
joh316 |
think that I don't have install password |
| 17:38 |
phil1 |
do you habe ftp acces? |
| 17:38 |
joh316 |
yes |
| 17:39 |
phil1 |
then please delete all files in typo3temp as ries suggested |
| 17:39 |
ries |
phil1: I did mean to say to delete cache files in typo3conf |
| 17:39 |
ries |
you don't need to delete files in typo3temp |
| 17:39 |
phil1 |
oh sure |
| 17:40 |
schabracke |
hello world! |
| 17:40 |
phil1 |
hi |
| 17:40 |
phil1 |
you are SETI? |
| 17:40 |
schabracke |
its'a me :) |
| 17:40 |
phil1 |
:D |
| 17:41 |
schabracke |
hehe |
| 17:41 |
schabracke |
but i got a question! i think that ive got a chache problem with the sk_pagecomment teaser |
| 17:41 |
schabracke |
anyone into that? |
| 17:44 |
schabracke |
hello .... hello -echo - .... dead silence |
| 17:44 |
phil1 |
:) |
| 17:44 |
joh316 |
@ries...you mean to delete all files containing _CACHED_ label |
| 17:45 |
phil1 |
schabracke: I guess you can try to set the plugin to USER_INT or COA_INT and try again |
| 17:45 |
schabracke |
try that gimme a moment |
| 17:45 |
phil1 |
schabracke: something like plugin.tx_sk_pagecomment = USER_INT |
| 17:46 |
phil1 |
joh316: yes these are the files ries meant |
| 17:52 |
joh316 |
nothing |
| 17:52 |
joh316 |
I deleted all cached files...and nothing |
| 17:56 |
phil1 |
joh316: then point your browser to <your Site>/typo3/install/ |
| 18:00 |
schabracke |
@phil1 do i need to put USER_INT to setup or ts_config?? |
| 18:02 |
nd__ |
The .mask can be put on any IMAGE or GIFBUILDER, can't it? |
| 18:03 |
joh316 |
still asking for password |
| 18:07 |
ries |
joh316: you vcan change that password if you have FTP access |
| 18:07 |
ries |
or comment out every line that starts with : $TYPO3_CONF_VARS['BE']['installToolPassword'] |
| 18:08 |
ries |
excpet teh one with the MD5 bacb98a.... |
| 18:08 |
joh316 |
ok I made it |
| 18:08 |
joh316 |
and clicked DB analyser |
| 18:08 |
joh316 |
everything seems fine to me |
| 18:08 |
ries |
and after you dleted the cache fiels you still have the TCA error on fe_users? |
| 18:09 |
joh316 |
oh there is compare option |
| 18:09 |
joh316 |
at bottom |
| 18:09 |
joh316 |
yes |
| 18:09 |
joh316 |
still error |
| 18:12 |
ries |
joh316: almost sounds like that teh CMS extension is not loaded... |
| 18:13 |
ries |
do you have typo3/sysext/cms ?? |
| 18:13 |
ries |
specially the file tbl_cms.php ?? |
| 18:14 |
joh316 |
I can only access to fileadmin and typo3conf folders |
| 18:22 |
joh316 |
so strange |
| 18:22 |
joh316 |
I enabled sqlDebug in install tool |
| 18:23 |
joh316 |
but don't get any messages on FE....only old one "NO entry in the $TCA-array..." |
| 18:27 |
phil1 |
schabracke: still there? |
| 18:37 |
ries |
joh316: caching issue may be? |
| 18:39 |
joh316 |
I don't thik so |
| 18:39 |
joh316 |
field I want to retrieve from DB is BLOB |
| 18:39 |
joh316 |
maybe that is problem |
| 18:42 |
crisb2010 |
did anyone here has problems with rgsmoothgallery? i'm getting 500s on pages where the gallery is inserted |
| 18:42 |
crisb2010 |
"Premature end of script headers" the log syas |
| 18:42 |
crisb2010 |
says |
| 18:51 |
ries |
joh316: is it your own code? |
| 18:51 |
ries |
crisb2010: I didn't, but to be sure check your server logs |
| 18:52 |
crisb2010 |
unfortunately i don't have full access to all the logs |
| 18:52 |
crisb2010 |
strange thing is, that i am using the same extension on the same server in another typo3 system. works fine there. |
| 18:53 |
ries |
crisb2010: can you turn on display errors on install? It 'might' show something.. also increase memory limits... you just might hit a limit? |
| 18:55 |
crisb2010 |
where are the errors shown then? |
| 18:55 |
ries |
on the FE |
| 18:56 |
crisb2010 |
since i'm getting a 500 from the server that won't help unfortunately |
| 18:56 |
ries |
crisb2010: can you try to increase memory? |
| 18:57 |
crisb2010 |
let me see how high it is |
| 18:57 |
crisb2010 |
50M |
| 18:58 |
ries |
sounds good... |
| 18:58 |
ries |
as an experiment you can try to increase.. see if that helped or not |
| 18:58 |
crisb2010 |
just did that |
| 18:58 |
crisb2010 |
didn't help |
| 18:58 |
ries |
Hmmm... |
| 18:59 |
crisb2010 |
the rest of the site just works fine, even the backend |
| 18:59 |
crisb2010 |
it is just this one page with the gallery |
| 19:06 |
Recnelis |
Hey guys I've got a odd problem.. my host moved my website to a new server due to a failure on the old... |
| 19:07 |
Recnelis |
Now when I access my-site.com/typo3 I get a "localconf.php is not found!" and when I try www.my-site.com I get a "Cannot find configuration. This file is probably executed from the wrong location." |
| 19:24 |
nd__ |
Recnelis: And is localconf.php missing? Or is it there? |
| 19:35 |
stephane |
Hello everyone, i have a question about TCA.php.. i would like to define value for a on/off checkbox, is it possible? |
| 19:37 |
Recnelis |
nd__: It's there |
| 19:37 |
Recnelis |
Everything worked fine.. then they changed my server.. and not it gives me those messages.. |
| 19:41 |
boonkerz |
hello |
| 19:41 |
boonkerz |
i need an optsplit for an tmenu wrap |
| 19:50 |
phil1 |
wrap = first || second |*| middle |*| last |
| 19:55 |
stephane |
no one know TCA around here? |
| 20:00 |
tjacobs |
ries: do you remember what you write in page Search Results for to appear the list of results? |
| 20:24 |
ries |
tjacobs: I am not sure if I follow you... |
| 20:25 |
ries |
geektoo: I did some TCS work, what I usually do is get the kickstarter and see what it generates if the docs are unclear (again) |
| 20:27 |
tjacobs |
ries: one day you helped me setting up an_searchit, you remember? |
| 20:29 |
schabracke |
hey, anybody knows if its possible to tease only the pictures from tt_news elements? |
| 20:29 |
schabracke |
like i have an scrolling bar filled with pictures which, if i click on it, lead to the tt_news articles |
| 20:30 |
ries |
tjacobs: yes I do |
| 20:36 |
tjacobs |
ries: a employee erased "search results" by mistake, and we cannot get it working, you remember how you made the call to extension results? |
| 20:36 |
ries |
tjacobs: I don't really remember, but why not un-do teh change? |
| 20:42 |
geektoo |
ries: thanks but what i would is to put a value in a checkbox in TCA, checkbox default is : 1/0, ON/OFF but i would 100/0 ON/OFF you know what i means? |
| 20:44 |
tjacobs |
ries: there is a way to rollback a "content page" removal? |
| 20:44 |
ries |
tjacobs: yes there is |
| 20:44 |
tjacobs |
lol |
| 20:45 |
tjacobs |
I need some extension? or its native code/ |
| 20:45 |
ries |
On the phone.... It's standard in T3 |
| 21:24 |
tjacobs |
ries: We found the change on log, but when clicked "Rollback single record", it seems that the file is not recreated. |
| 21:25 |
tjacobs |
it restore on other folder than the original? |
| 22:43 |
Recnelis |
When I access my-site.com/typo3 I get a "localconf.php is not found!" and when I try www.my-site.com I get a "Cannot find configuration. This file is probably executed from the wrong location." :/ |
| 22:43 |
Recnelis |
Can't find any solution on the web.. seems to happen when I use symlinks.. but in all honesty, can it truely be that I can no longer use symlinks? :S |
| 22:46 |
flurl__ |
Recnelis: what happens when you try accessing localconf.php directly? like my-site.com/typo3conf/localconf.php |
| 22:47 |
Recnelis |
Erm.. haven't tried, 1 sec |
| 22:48 |
Recnelis |
Nothing, blank page(since it's a php page that's normal) |
| 22:48 |
Recnelis |
The files are there.. I just have no idea why it say it isn't.. |
| 22:49 |
Recnelis |
If I make index.php non-symlinked it show the my-site.com just fine |
| 22:49 |
flurl__ |
so index.php is symlinked? |
| 22:50 |
Recnelis |
Yes |
| 22:51 |
Recnelis |
Along with typo3 and t3lib |
| 22:51 |
phil1 |
Recnelis: you don't need to symlink index.php |
| 22:53 |
Recnelis |
Well, even if I unlink it, and the normal e.g. www.khalsa.dk - I still can't connect to the backend www.khalsa.dk/typo3 as u can see |
| 22:53 |
Recnelis |
I unlinked it which made the site www.khalsa.dk work fine for users to view.. but the backend is still not accessible.. |
| 22:54 |
phil1 |
Recnelis: it proves that file permissions are right |
| 22:55 |
phil1 |
Recnelis: so there must be another fault in filesystem |
| 22:55 |
phil1 |
Recnelis: did you check php error log? |
| 22:56 |
Recnelis |
Not yet, will do it now |
| 22:56 |
phil1 |
Recnelis: maybe you can use install tool to enable some adv debug output |
| 22:56 |
flurl__ |
Recnelis: have you copied/moved the installation? |
| 22:57 |
phil1 |
Recnelis: just some thoughts ... I'll leave now, wish you to find the error :) |
| 22:57 |
Recnelis |
The installation has been moved to a new server by my hosting company as the old one had some problems with the file system |
| 22:57 |
Recnelis |
Everything worked fine before the move :/ |
| 22:57 |
Recnelis |
phil1: I can only see a general log, not a php error log in specific inside my cpanel |
| 22:58 |
phil1 |
Recnelis: then you need to ask the hoster, but you can try to set error level to all in install tool |
| 22:58 |
phil1 |
cu all |
| 22:58 |
flurl__ |
Recnelis: do you have shell access? |
| 22:59 |
Recnelis |
flurl__: Yes |
| 22:59 |
Recnelis |
phil1: Can't access install tool :( Thx and bye |
| 23:00 |
flurl__ |
i guess, you've already double checked permissions and owner/group settings? |
| 23:00 |
Recnelis |
I asked the webhost company to change the permissions so the webserver has full access to all files - Yet i think he's given my user full access instead of the webserver itself... |
| 23:01 |
Recnelis |
I just tried a script by the web empowered church which says: fileadmin not writable Warning -> Could not write to the fileadmin directory. Please check the directory permissions. |
| 23:03 |
phil1 |
Recnelis: maybe you should switch hoster :D |
| 23:05 |
flurl__ |
Recnelis: btw, what happens when you try accessing the install tool? |
| 23:06 |
Recnelis |
It says it's locked |
| 23:07 |
Recnelis |
http://khalsa.dk/typo3/install/index.php |
| 23:07 |
flurl__ |
can you create the file typo3conf/ENABLE_INSTALL_TOOL ? |
| 23:07 |
Recnelis |
But there is a typo3conf/ENABLE_INSTALL_TOOL file created already.. |
| 23:07 |
Recnelis |
flurl__: I have and it's in the typo3conf dir :) |
| 23:09 |
flurl__ |
hmm, strange |
| 23:11 |
Recnelis |
Btw. another question is GraphicsMagick or ImageMagick important to have installed or is it fine with just GD? |
| 23:13 |
flurl__ |
Recnelis: what are the permissions of the typo3conf directory? |
| 23:14 |
Recnelis |
755 |
| 23:14 |
flurl__ |
AFAIR some features aren't available without GM or IM, but i'm not sure |
| 23:14 |
Recnelis |
644 on the files inside the typo3conf directory |
| 23:18 |
flurl__ |
Recnelis: where does the link typo3_src point to? |
| 23:19 |
Recnelis |
Goes up a lvl and the to the src directory... |
| 23:19 |
Recnelis |
ln -s ../typo3_src428/typo3 typo3 |
| 23:19 |
Recnelis |
Was the command used.. and it's "turkish" so seems to be right.. |
| 23:21 |
flurl__ |
http://www.khalsa.dk/typo3_src/ |
| 23:22 |
flurl__ |
i know, there's an apache directive, one has to enable, to follow symlinks |
| 23:22 |
flurl__ |
but i don't know anything about "LiteSpeed Web Server" (never heard of that) |
| 23:22 |
Recnelis |
U know what it's called? |
| 23:23 |
Recnelis |
Neither have I :S Used apache before from what I know.. |
| 23:24 |
Recnelis |
"The user who runs the server is your username" -> Support just wrote that to me.. |
| 23:25 |
flurl__ |
http://litespeedtech.com/docs/webserver/config/vhostlist/#allowSymbolLink |
| 23:27 |
Recnelis |
Now to find how to see the webserver settings.. |
| 23:29 |
Recnelis |
God this is one of the irritating things with webhosts.. :/ |
| 23:30 |
flurl__ |
another idea, perhaps typo3_src is not accessible, because it's not within your web root |
| 23:32 |
Recnelis |
So ur thinking move it into the site itself? |
| 23:33 |
flurl__ |
on the other hand, why is /typo3 and /t3lib accesible, when the are linked into typo3_src |
| 23:33 |
flurl__ |
very confusing :) |
| 23:33 |
flurl__ |
i would try that |
| 23:33 |
Recnelis |
Basically I have a "top-site" named www.akhalsa.com -> Here the typo3_src lies along with a folder for khalsa.dk |
| 23:34 |
Recnelis |
Khalsa.dk should be able to read from the directory above it as it actually is accessible from the web.. |
| 23:34 |
Recnelis |
So what ur saying is to move the typo3_src into the khalsa.dk webroot flurl__? |
| 23:36 |
flurl__ |
just a try, but i don't know anymore |
| 23:36 |
Recnelis |
Just tried, doesn't change anything |
| 23:37 |
Recnelis |
flurl__: Thx for trying, appreciate the effort m8 :) |
| 23:37 |
flurl__ |
Recnelis: you're welcome :) |
| 23:38 |
Recnelis |
flurl__: Just made it without symlinks.. and works perfectly without if u try now... |
| 23:39 |
Recnelis |
Yet with symlinks it wont.. how odd.. |
| 23:40 |
flurl__ |
yeah, works nice :) |
| 23:42 |
flurl__ |
you can try to output $enableInstallToolFile in typo3/install/index.php |
| 23:43 |
flurl__ |
then at least, you know where it is looking for that file |
| 23:44 |
Recnelis |
True |
| 23:44 |
Recnelis |
well enough for today.. I'm off, nn all :) |
| 23:45 |
flurl__ |
good night |
| 23:45 |
Recnelis |
Thx again flurl__ :) |