Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 06:46:08 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
149670
Posts in
21100
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Addon File Editor (AFE)
Pages:
1
[
2
]
3
4
Go Down
Author
Topic: Addon File Editor (AFE) (Read 20028 times)
Stefek
WebsiteBaker Org e.V.
Online
Posts: 4755
Re: Addon File Editor
«
Reply #25 on:
January 19, 2009, 12:13:19 AM »
Additionaly I wanted to say, that the Name Change is wisely chosen.
It fits more to the function.
Regards,
Christian
«
Last Edit: January 19, 2009, 12:15:59 AM by Stefek
»
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Olli
Offline
Posts: 288
Re: Addon File Editor
«
Reply #26 on:
January 20, 2009, 10:47:33 AM »
very very nice and handy tool! please keep it up
Logged
doc
Guest
Re: Addon File Editor
«
Reply #27 on:
January 22, 2009, 06:10:45 PM »
Hello,
just released the
v0.36 RC2
of the
Addon File Editor
on the WebsiteBaker
Add-ons repository
.
Applied changes:
+ removed all handlers except "edit" from filemanager (WB language files only)
+ additional check to avoid unnecessary connection trials to function ftpLogin
+ added missing admin footer to action_handler.php and ftp_assistant.php
+ removed <br /> tag from function createSelectEntries
+ fixed CSS and HTML validation errors to create valid output
+ edit file dialogue now always shows Save and Cancel buttons (removed before if saved sucessfully)
Installation:
Delete any previous version, then install the latest version via the WB backend. You will find the tool in the Admin-Tools section in the WB backend. Delete your browser cache and sessions if you experience problems with CSS.
Configuration:
If you want to enable FTP Support, you need to provide the connection details to your FTP server in config.inc.php of the Addon File Editor. You can use the FTP assistant to check if the settings are right (can be invoked from the backend). Please double check, that the FTP starting directory points to your WB installation folder. If WB was installed in a sub folder of your web space, you need to adapt the path from / to e.g. /wb. Use the start path as defined in your FTP tool or just start with / first.
Feddback, suggestions etc. are welcome.
Regards Christian
«
Last Edit: April 28, 2009, 06:57:31 PM by doc
»
Logged
doc
Guest
Addon File Editor
«
Reply #28 on:
January 26, 2009, 06:55:05 PM »
Hello,
just released the
v0.37 stable
of the
Addon File Editor
on the WebsiteBaker
Add-ons repository
.
Changes with respect to v0.36 RC2:
+ moved FTP layer configuration from config.inc.php to the backend (database)
+ added link to help file to the overview page
Installation:
Delete previous versions, then install the latest version via the WB backend. You will find the tool in the Admin-Tools section in the WB backend. Delete your browser cache and sessions if you experience problems with CSS.
Requirements:
+ Requires PHP 5 to work as expected as it uses some methods not supported by PHP4
Regards Christian
«
Last Edit: February 08, 2009, 03:53:19 PM by doc
»
Logged
pcwacht
AddOn Development
Online
Posts: 2814
Re: Addon File Editor
«
Reply #29 on:
February 02, 2009, 11:15:51 AM »
Installed 0.37 in wb 26 and wb27
in both - installed sais succesfull, though starting the editor resulted in empty page with header - Administration Tools -> Addon File Editor, nothing below that, in html source nothing below that either
Tried uninstall in both wb's, nothing happened.
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
doc
Guest
Re: Addon File Editor
«
Reply #30 on:
February 02, 2009, 01:22:59 PM »
Hi,
the Addon File Editor does only work with WB 2.7. Can you try to re-load the tool? Session support must be enabled. Try to log out and then log in again. Can you check your settings for the error reporting? What server are you using, what browser?
Regards Christian
Logged
pcwacht
AddOn Development
Online
Posts: 2814
Re: Addon File Editor
«
Reply #31 on:
February 02, 2009, 03:23:23 PM »
Did test in both wb'2, have both handy
reloaded, few times
session support, check
logout/clear sessions/cookies - login -check
error reporting E_ALL
server linux, php4.3.11, mysql 4.1.12
clients:
Windows XP - Internetexplorer 7
Windows XP - Firefox
John
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
doc
Guest
Re: Addon File Editor
«
Reply #32 on:
February 02, 2009, 04:05:25 PM »
Hi John,
have tested it with PHP 5.2 and MySQL 4 on XAMPP Windows XP with different browsers and everything works as it should. Can you provide me access to the site which is not working - if on a live server?
Regards Christian
Logged
pcwacht
AddOn Development
Online
Posts: 2814
Re: Addon File Editor
«
Reply #33 on:
February 02, 2009, 04:35:29 PM »
Is life server, linux, hard to give fileaccess, runs multiple websites for work.
Could dump tables and filesystem for you?
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
pcwacht
AddOn Development
Online
Posts: 2814
Re: Addon File Editor
«
Reply #34 on:
February 02, 2009, 04:39:22 PM »
On xampp:
Quote
Administration Tools -> Addon File Editor
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 24
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 56
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 83
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 94
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 103
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 114
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 126
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 140
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 152
Notice: Array to string conversion in E:\xampp\htdocs\wb27\modules\addon_file_editor\languages\EN.php on line 159
Fatal error: Cannot use string offset as an array in E:\xampp\htdocs\wb27\modules\addon_file_editor\tool.php on line 55
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
pcwacht
AddOn Development
Online
Posts: 2814
Re: Addon File Editor
«
Reply #35 on:
February 02, 2009, 10:28:34 PM »
My problem
Quote
Notice: Array to string conversion
solved:
The variable declaration in line 24 of tool.php:
Code:
$LANG[1] = array(
gives the fault (or notice).
Here a new variable
Code:
$LANG
is used and auto-declared as an array with
Code:
$LANG[1]
and at the same time tell php to declare it as an array with
Code:
=array(
So auto-declaring and declaring an array gives the notice
Solution is simple, preceed line 24 with
Code:
$LANG=array();
This way the variable is an array before it is filled.
Have fun,
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
doc
Guest
Re: Addon File Editor
«
Reply #36 on:
February 02, 2009, 10:51:32 PM »
Hi John,
well I understand the error message, but I am not able to reproduce the error. Working with PHP 5.2.6 with error_reporting set E_ALL by default (phpinfo tells me 6143 which is fine), but no error message or warning is displayed at all (Win XP, XAMPP). That is what I am struggling with.
Unfortunatelly the XAMPP switch to PHP 4 does not work properly at my system. Have you the chance to test on PHP 5 as well using the same settings?
Regards Christian
«
Last Edit: February 02, 2009, 11:04:52 PM by doc
»
Logged
pcwacht
AddOn Development
Online
Posts: 2814
Re: Addon File Editor
«
Reply #37 on:
February 02, 2009, 11:35:52 PM »
Will try with php5
But think it is good to put the extra line in it to avoid problems
Did you check your http logs for notices?
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
doc
Guest
Re: Addon File Editor
«
Reply #38 on:
February 03, 2009, 08:01:57 AM »
Hello John,
will install the latest XAMPP version today which allows to switch between PHP versions 5 and 4 and check if I can reproduce the warnings and error you reported with PHP 4.3.11. Nothing found in my log files so far, but have to check on the other servers too. Once I can reproduce the error, it will be easy to fix it
Regards Christian
Logged
doc
Guest
Re: Addon File Editor
«
Reply #39 on:
February 08, 2009, 03:51:55 PM »
Hello,
the admin tool: Addon File Editor v0.37
requires PHP5
to work.
If you get an error message (WB Options->Advanced Options -> Error reporting: E_ALL) pointing to functions.inc.php line 422, search in file functions.inc.php for line
Code:
function cleanGetParameters(&$aid = '', &$fid = '')
and change it into:
Code:
function cleanGetParameters(&$aid, &$fid)
Tested with
PHP 4.4.9
and everything seems to work (even the error reported by pcwacht does not show up). Needs some further testing to check all functions for PHP4 and PHP5 compatibility. Most likely the error reported by pcwacht is also related to the PHP version he used in his tests (PHP 4.3.11). Unfortunatelly I do not have this version for local tests, but I will iterate with John to find a solution which works for both, PHP 4 and 5.
Regards Christian
«
Last Edit: February 08, 2009, 04:43:43 PM by doc
»
Logged
tiggerific
Offline
Posts: 25
Re: Addon File Editor
«
Reply #40 on:
February 09, 2009, 01:13:47 AM »
My problem
Quote
Notice: Array to string conversion
I had the same problem on a cPanel install (PHP 5.2.6 on WB 2.7).
Adding the following code to the last line of config.inc.php fixed the problem for ALL pages where the error occurred (every page of addon-file-editor):
Code:
$LANG=array();
Logged
doc
Guest
Re: Addon File Editor
«
Reply #41 on:
February 09, 2009, 08:55:34 AM »
Hello,
thanks for posting. Will add these two modification to the next version of the Addon File Editor.
Regards Christian
Logged
doc
Guest
Re: Addon File Editor
«
Reply #42 on:
February 09, 2009, 07:32:19 PM »
Hello,
just released
v0.38 stable
of the
Addon File Editor
on the WebsiteBaker
Add-ons repository
.
Changes with respect to v0.37:
+ fixed compatibility issues with PHP 4 (thanks to pcwacht, evoengine, thorn and tiggerific for reporting)
Installation:
Delete previous versions, then install the latest version via the WB backend. You will find the tool in the Admin-Tools section in the WB backend. Delete your browser cache and sessions if you experience problems with CSS.
Requirements:
+ Requires WebsiteBaker 2.7 or higher (does not work with WB 2.6.x)
+ Requires PHP 4.3.11 or higher
Regards Christian
«
Last Edit: February 14, 2009, 03:50:38 PM by doc
»
Logged
doc
Guest
Addon File Editor v0.39
«
Reply #43 on:
February 14, 2009, 03:48:34 PM »
Hello,
just released
v0.39 stable
of the Addon File Editor on the WebsiteBaker
Add-ons repository
.
What is it all about?
The Addon File Editor allows you to "edit", "delete", "rename", "create", "upload" or "backup" files of installed Add-ons such as modules, templates and languages via the WebsiteBaker backend. This tool enables you to apply small modifications to installed Add-ons without downloading the files first. You can enable an optional FTP layer, which allows you to edit Add-on files normally owned by the ftp-user (like WB core templates and core modules uploaded via FTP). The tool can also create a installable backup of a installed Add-in.
Modifications with respect to previous version:
+ fixed bug in directory mapping which sometimes caused upload to wrong directory (thanks to erpe for reporting)
Installation:
Delete previous versions, then install the latest version via the WB backend. You will find the tool in the Admin-Tools section in the WB backend. Delete your browser cache and sessions if you experience problems with CSS.
Requirements:
+ Requires WebsiteBaker 2.7 or higher (does not work with WB 2.6.x)
+ Requires PHP 4.3.11 or higher
As usual, your feddback, suggestions etc. are welcome.
Regards Christian
«
Last Edit: March 05, 2009, 08:51:31 PM by doc
»
Logged
quinto
Offline
Posts: 67
Re: Addon File Editor
«
Reply #44 on:
March 26, 2009, 11:17:24 AM »
hello doc, thanks for your very nice module, and very handy, is it possible to add a "custom" Path to edit files ?
For example, in my "/media" directory i have some xml files that i need to edit, can "Addon File Editor" be configured to allow me to edit theses files ?
It would be nice to add one or more "custom" Path in the config.inc.php...
What do you think about this feature ?
Logged
doc
Guest
Re: Addon File Editor
«
Reply #45 on:
March 26, 2009, 11:42:51 AM »
Hello quinto,
the intention of the tool was to allow to edit Addon files (modules, templates and langauges) nothing else. I have no plans to extend the module to include other folders in future versions - sorry.
However, there exists a module which allows to edit any file on your server. If I remember right, you can also define a start path to restrict those actions to a specified sub directory. So you may want to try
Webbased Edit
ported by pcwacht.
Regards Christian
«
Last Edit: March 26, 2009, 11:48:29 AM by doc
»
Logged
Stefek
WebsiteBaker Org e.V.
Online
Posts: 4755
Re: Addon File Editor
«
Reply #46 on:
March 26, 2009, 11:49:22 AM »
Hello Quinto,
please check the WebBased Edit tool, Christian proposed.
I recently did a redesign on this tool which is not published yet (I am waiting for Johns "review").
If this tool is something you can work with, please send me a PM and I will send you a copy of my reworked version (as pre-release).
In functionality it is the SAME Module. I only was supposed to match the look&feel to existing WB Modules.
Regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
quinto
Offline
Posts: 67
Re: Addon File Editor
«
Reply #47 on:
April 01, 2009, 07:25:10 PM »
Thanks for your answers, i have made a French translation for Addon File Editor, where can i send my FR.php file ?
Logged
quinto
Offline
Posts: 67
Re: Addon File Editor
«
Reply #48 on:
April 02, 2009, 01:37:00 PM »
OK here is the French translation (FR.php) for the Addon File Editor V 0.39 :
Logged
doc
Guest
Re: Addon File Editor
«
Reply #49 on:
April 02, 2009, 05:05:02 PM »
Hello,
just released v0.40 of the
Addon File Editor
which includes the French language file contributed by the forum member quinto.
Thanks quinto, highly appreciated.
Regards Christian
Logged
Pages:
1
[
2
]
3
4
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...