WYSIWYG CMS ( CMS php include ) ***UPDATED 15/10/2009***

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.

There are already more than 250 extensions available!
User avatar
Eddy
 
 
Posts: 489
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Sat Oct 24, 2009 8:34 pm

The folder from the ajax filemanager.

jscripts\tiny_mce\plugins\ajaxfilemanager

Patr100
 
 
Posts: 144
Joined: Tue Dec 25, 2007 10:52 pm

Post by Patr100 » Sat Oct 24, 2009 8:58 pm

Eddy wrote:The folder from the ajax filemanager.

jscripts\tiny_mce\plugins\ajaxfilemanager
Just checked it its already 755

User avatar
Eddy
 
 
Posts: 489
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Sun Oct 25, 2009 2:45 am

When I upload an image it is placed in the uploads folder.
But it's stil not showing up on the page.
I asume that your webbuilder page have the extension php otherwise I have no idea why it does not work for you :?

Patr100
 
 
Posts: 144
Joined: Tue Dec 25, 2007 10:52 pm

Post by Patr100 » Sun Oct 25, 2009 3:33 am

Yes it is
I can edit/add text no problem but uploaded pics still just appear as placeholder with the red cross.
I'll try again later

-

Patr100
 
 
Posts: 144
Joined: Tue Dec 25, 2007 10:52 pm

Re: Can´t see the Tiny mce editor

Post by Patr100 » Sun Oct 25, 2009 12:16 pm

Ukra wrote:
Is there an alternative to the ftpmanager?

Ulrik

I use Filezilla (its free) jusst google it.

User avatar
Eddy
 
 
Posts: 489
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Sun Oct 25, 2009 2:17 pm

Patr100 wrote:Yes it is
I can edit/add text no problem but uploaded pics still just appear as placeholder with the red cross.
I'll try again later

-
Look in the "page html" from the page with the extension if the path to the image is correct,if yes than it can only a permission problem.

Maybe.....in the uploaded folder are more folders for the content to upload,did you give these folders permissions.

Patr100
 
 
Posts: 144
Joined: Tue Dec 25, 2007 10:52 pm

Post by Patr100 » Sun Oct 25, 2009 6:44 pm

Ok I sorted it.


Eddy wrote:If you have used pages in folders ( page not in the same directorie as the cms) than the path to the file is not correct.( php include in the WB page )

Do you have this structure on your server?
Look also to the read and write settings (755) or (777) from your folders.

content
jscripts
uploaded
login.php
webbuilder pages.html
webbuilder pages.html
webbuilder pages.html




Unless I was missing something the above was slightly misleading
The problem was the actual path to the image was
root/content /uploaded

when the structure was
root/uploaded

I manually moved the uploaded folder to
root/content/uploaded

and it worked.
-

User avatar
Eddy
 
 
Posts: 489
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Sun Oct 25, 2009 7:40 pm

I`am happy you found the problem!
I dont know what is different on your server but it works now and thats importand. :D

But can you now upload images with the filemanager to the uploaded folder?

Patr100
 
 
Posts: 144
Joined: Tue Dec 25, 2007 10:52 pm

Post by Patr100 » Sun Oct 25, 2009 9:00 pm

Eddy wrote:I`am happy you found the problem!
I dont know what is different on your server but it works now and thats importand. :D

But can you now upload images with the filemanager to the uploaded folder?
Hmmm Good question just tried it doesn't like it. :(

"Unable to locate the specific folder: ../../../../uploaded/"


-

User avatar
Eddy
 
 
Posts: 489
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Sun Oct 25, 2009 10:05 pm

Its in config.base.php , if you make changes in this file than make first a copy,I have work many hours to make all files work together and i dont know if everything wil work if you make changes in this file.

\jscripts\tiny_mce\plugins\ajaxfilemanager\inc\config.base.php


CONFIG_SYS_DEFAULT_PATH is the default folder where the files would be uploaded to and it must be a folder under the CONFIG_SYS_ROOT_PATH or the same folder these two paths accept relative path only, don't use absolute path*/ define('CONFIG_SYS_DEFAULT_PATH', '../../../../uploaded/'); //accept relative path only define('CONFIG_SYS_ROOT_PATH', '../../../../uploaded/');

Patr100
 
 
Posts: 144
Joined: Tue Dec 25, 2007 10:52 pm

Post by Patr100 » Sun Oct 25, 2009 10:23 pm

Will have a look

While I'm in config.base.php what about the addiitional security update option?

How do I change the log in details ?

Change false to 1 - I can do that

the userrname and password are obviolsy encrypted so do we just leave that as is?

=

User avatar
Eddy
 
 
Posts: 489
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Sun Oct 25, 2009 10:36 pm

In the pdf is an example.
Change also the password and login name.

Patr100
 
 
Posts: 144
Joined: Tue Dec 25, 2007 10:52 pm

Post by Patr100 » Sun Oct 25, 2009 11:20 pm

Eddy wrote:In the pdf is an example.
Change also the password and login name.
yes but where? They are encrypted inthe file - The password can be changed via the extension but not the login name?

User avatar
Eddy
 
 
Posts: 489
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy » Sun Oct 25, 2009 11:28 pm

No,the password in the extension properties window is for the login page to the editor.

The password and login for the filemanager is in the config.base.php
I cannot make this as option in the extension properties window because these files are not in the extension.

Its not encrypted you can change the password and login in the file with notepad,or open the file in a php editor to change the names.

In a php editor the file looks like this

Code: Select all

<?php
	/**
	 * sysem base config setting
	 * @author Logan Cai (cailongqun [at] yahoo [dot] com [dot] cn)
	 * @link www.phpletter.com
	 * @since 1/August/2007
	 *
	 */
	

error_reporting(E_ALL);	
//error_reporting(E_ALL ^ E_NOTICE);	
	
	

	//Access Control Setting
	/**
	 * turn off => false
	 * by session => true
	 */
	define('CONFIG_ACCESS_CONTROL_MODE', false); 	
	define("CONFIG_LOGIN_USERNAME", 'sdfgdfgdfgdgfdgsdfsdfg3454dsfb5e');
	define('CONFIG_LOGIN_PASSWORD', 'ASDF@#%JHGSDFGasdkjfh3812764ksdjfbhkjxcf');
	define('CONFIG_LOGIN_PAGE', 'ajax_login.php'); //the url to the login page
	
	//SYSTEM MODE CONFIG

Patr100
 
 
Posts: 144
Joined: Tue Dec 25, 2007 10:52 pm

Post by Patr100 » Mon Oct 26, 2009 1:04 am

I know this is what I am referring to - I had it open in notepad

You mean the long random password and login - is it automatically generated ?
is it always the same unless we manually change it?

define('CONFIG_ACCESS_CONTROL_MODE', false);
define("CONFIG_LOGIN_USERNAME", 'sdfgdfgdfgdgfdgsdfsdfg3454dsfb5e');
define('CONFIG_LOGIN_PASSWORD', 'ASDF@#%JHGSDFGasdkjfh3812764ksdjfbhkjxcf');
define('CONFIG_LOGIN_PAGE', 'ajax_login.php'); //the url to the login page

Post Reply