html-area: enlarge editor staus empty

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
Oliver Georgi
Site Admin
Posts: 9904
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Maybe this is a rewrite problem ;-)
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
sporto
Posts: 160
Joined: Mon 10. Nov 2003, 18:01
Location: USA, Chicago

Post by sporto »

Oliver Georgi wrote:Maybe this is a rewrite problem ;-)
Damn! That was it! I tried turning off the ReWrite in the config file - nothing. Then I removed the .htaccess file and it now works. So it seems that the .htaccess makes the popups for HTMLArea not work. I wonder if there is a work around.

BTW, this is what was in my HTACCESS file:

Code: Select all

RewriteEngine on
RewriteRule ^(.*).html$ /index.php?id=$1
RewriteRule ^index.html$ /index.php
Thanks for the suggestion Oliver.

Mark
User avatar
Oliver Georgi
Site Admin
Posts: 9904
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

it is the index.html rule - I have planned to changed the rewrite thing to add additional thing before or after. Try to remove the rule for index.html

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

sporto wrote: BTW, this is what was in my HTACCESS file:

Code: Select all

RewriteEngine on
RewriteRule ^(.*).html$ /index.php?id=$1
RewriteRule ^index.html$ /index.php
What is the function of a .htaccess file like that´?
http://www.studmed.dk Portal for doctors and medical students in Denmark
sporto
Posts: 160
Joined: Mon 10. Nov 2003, 18:01
Location: USA, Chicago

Post by sporto »

frold wrote:
sporto wrote: BTW, this is what was in my HTACCESS file:

Code: Select all

RewriteEngine on
RewriteRule ^(.*).html$ /index.php?id=$1
RewriteRule ^index.html$ /index.php
What is the function of a .htaccess file like that´?
That's the rule that allows the server to rewrite the URL that has the PHP with the variable to an HTML with no variable. It makes it more search engine firendly.
sporto
Posts: 160
Joined: Mon 10. Nov 2003, 18:01
Location: USA, Chicago

Post by sporto »

Alright... I got an easy work-around.

I just posted a new .htaccess file in the include/inc_ext/htmlarea folder. The content of the .htaccess is simply:

Code: Select all

RewriteEngine off
Now the rewrite works and the HTMLArea popups work.

Thanks again for all the help! :D
sporto
Posts: 160
Joined: Mon 10. Nov 2003, 18:01
Location: USA, Chicago

Post by sporto »

sporto wrote:That's the rule that allows the server to rewrite the URL that has the PHP with the variable to an HTML with no variable. It makes it more search engine firendly.
Actually, I think I stated it wrong. It allows the server to read the HTML URL and as if it was a PHP URL and process it accodingly with the necessary variables. Again, all for search engine friendlyness. I'm sure someone else can give a more accurate description than what I just tried to do. :oops:
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

I think I know what the problem is. When I click the full screen button in html-area I see a popup with nothing in it, as said. When I take a look at my servers error log I see the following line added to the error_log:

Code: Select all

File does not exist: /home/httpd/vhosts/mydomain.com/httpdocs/phpwcms/incl
ude/inc_ext/htmlarea/popups/include/inc_ext/htmlarea/plugins/TableOperations/lang/en.js
So some path details are double as you can see: "include/inc_ext/htmlarea/"

Where to fix this?
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

Post by art777 »

art777 wrote:OK, now is good, no bugs :D - win98se, ie6
THX
Olivier, is wrong... maybe is bug IE6? - working good, working wrong, working good, working wrong...... bug in javascript?
WRONG - form with buttons ... no displayed, and display small window with bug javascript. :( :( :(
Jari
Posts: 107
Joined: Thu 15. Apr 2004, 11:31
Location: Sweden
Contact:

Post by Jari »

Hi.

I have this problem, when I click on the button enlarge editor it only shows the popup window but no content or buttons on it. All the other popups for the HTML-area works as they should but why don't the enlarge editor work ?

I have the latest version of the WCMS and I use Win XP with IE 6.0.
User avatar
Oliver Georgi
Site Admin
Posts: 9904
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

This does not work anywhere - also the samples on HTMLarea pages itself ;-)

Don't ask why.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Jari
Posts: 107
Joined: Thu 15. Apr 2004, 11:31
Location: Sweden
Contact:

Post by Jari »

Ok, thanks for the answer. Then I don't need to try it more :D
Post Reply