cancel
Showing results for 
Search instead for 
Did you mean: 

classes.inc

alekappa
Champ in-the-making
Champ in-the-making
I've installed the PHP library, but the classes.inc cannot be found.
Where can I get it?
Thanks in advance
Alex
5 REPLIES 5

alekappa
Champ in-the-making
Champ in-the-making
I've commented out classes.inc and the script works (redirect to the login page), but cannot access the spacesstore:
Node does not exist: workspace://SpacesStore/

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Yes, classes.inc is not required and was mistakenly left in.

I've updated the code and download refresh will follow.

With regards to the other problem, its is nothing that I have been able to reproduce here, but it is an issue others are seeing.

Any further info you can provide regarding this will be gratefully received.

Thanks,
Roy

————————————————————————

r2196 | royw | 2006-01-25 10:28:13 +0000 (Wed, 25 Jan 2006) | 1 line

Changed paths:

   M /alfresco/HEAD/root/projects/extensions/php/alfresco/tag/DataListTag.php

   M /alfresco/HEAD/root/projects/extensions/php/alfresco/tag/TagFramework.php



- Removed dependency on classes.inc that was not required.

————————————————————————

alekappa
Champ in-the-making
Champ in-the-making
Where can I find the logs to try to figure out the problem (if possible)?
PS:I've not downloaded the source code up to now.

——————–
In file:
.\alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\repository.properties

I had to manually modify line 48 : db.driver=org.gjt.mm.mysql.Driver
with the updated jdbc driver (com.mysql.jdbc.Driver) [and db username and password]

Alex

alekappa
Champ in-the-making
Champ in-the-making
How can I browse from the administrator node browser to "workspace://SacesStore"?
Just putting that doesn't work (maybe it's not a problem of the php service but of some general config).
I'm using a 1.1.2 war version on top of a bundled old Tomcat installation.

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Apologies for the delay in answering.  A few people have seen this problem, but it has been a little elusive since I am unable to reproduce it here.

It appears that somewhere along the line a null value passed to a PHP method is being converted to an empty string.  The repository code was not expecting this so is building the node reference incorrectly (a node ref should have three parts the store type, id and the id of the node, as you might have noticed the node id is missing)

For now I have placed a fix in the repo to handle this scenario and working with another member of our community (thanks Ludo) this seams to work, but I'd really like to understand what is causing this and why not everyone is seeing this problem.

If you (or anyone else) has seen this kind of behaviour before I'd be grateful for any pointers they can provide.

Thanks,
Roy

————————————————————————

r2204 | royw | 2006-01-25 16:12:19 +0000 (Wed, 25 Jan 2006) | 1 line

Changed paths:

   M /alfresco/HEAD/root/projects/remote-api/source/java/org/alfresco/repo/webservice/Utils.java



Fixed issue when some PHP clients where passing null values as empty strings.  Now the server code will expect this possibility and check accordingly.

————————————————————————
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.