close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


IRite 103 PHP Connector

Thread began 10/13/2009 3:34 am by info271221 | Last modified 10/21/2009 12:29 pm by Ray Borduin | 2387 views | 12 replies |


IRite 103 PHP Connector

I have tried to get the path right by changing it checking the forum, help docs.. and still cannot get it right and now I am losing ground as it will not link images when I insert the path.
That was working and now is not.

Here is the code from the connector - I have also attached the files.

// SECURITY: You must explicitly enable this "connector". (Set it to "true").
// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only
// authenticated users can access this file or use some kind of session checking.
$Config['Enabled'] = true ;

// Path to user files relative to the document root.
$Config['UserFilesPath'] = 'userfiles/' ;

// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config[''] = '' ;

It is now adding double quotes around the url - example
"" is entered for the alt text and "" is appears in the image field.

When I try to upload I get this:
Error creating folder "D:\Websites\www.myDomainuserfiles/" (mkdir() [<a href='plugins/function.mkdir'>function.mkdir</a>]: File exists)

I am working on the update file member_measurer/member_directory_update.php
I will also have to include on the insert and the members/members_directory_profile.php

I noticed on the FCKeditor site that you can create an include file for the text editor.
That sure seems like the way to go so you only have one file to edit / make changes on...
Does that work well?


Thank You!

Sign in to reply to this post


You should do it something like this.
// Path to user files relative to the document root.
$Config['UserFilesPath'] = '' ;

// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '/home/olle/domains/' ;

The $Config['UserFilesAbsolutePath'] is the absolute path on the webserver.
You can get it by a


Sign in to reply to this post


That did it! Thanks!

Great tool!

Sign in to reply to this post


OOPS The photos still do not upload

The tool works, but it still will not upload photos. it is stuck in the image properties with the dots moving.

Sign in to reply to this post

Ray BorduinWebAssist

Do you have a URL where I can view the problem? File upload isn't officially supported in this version, but we will be coming out with a new version where we will support file upload and even some advanced image editing options... anyway I may be able to help if I can test it somewhere.

Sign in to reply to this post


Irite Image Upload

Yes, member_directory_LogIn.php
user and password waTest will take you to the profile page.

If I enter a url in the image it add "" in front of the image, and it appears to a new set of "" each time I edit.

is the properties of the image that has been in the listing.

"" is an image I just entered.

It also does the same " additions to the alt text.


Sign in to reply to this post

Ray BorduinWebAssist

We worked through this over the phone..

You needed to remove the string replace function that was adding the doubled quotes from the initial value to solve the extra quotes issue.

You also had syntax problems with missing semicolons and bad syntax for the UserFilesAbsolutePath... and you didn't have your permissions set properly.

Once those issues are resolved it should function properly.

Sign in to reply to this post


Image Upload on Browse Server works, but not under Upload

Okay, so today I started adding another iRite to a different website and tried uploading an image under the Upload tab and can not get it to work.

It has about the same error message as the above errors; however we got it working one way and did not want to mess things up by making changes.

So one this page: member_directory_Profile.php (I'll zip a file with details.)

Thank you,


Sign in to reply to this post

Ray BorduinWebAssist

What is the exact error message?

Sign in to reply to this post


Error Message

Error Creating folder: 'd:/websites/' (mkdir....) File exists.

It's creating the error from this:

$Config['UserFilesAbsolutePath'] = 'd:/websites/' ;

on the config file; however I'm not sure what I should put there.

Did you get my attachments???

Thank you!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...