Solved

Problem with Joomla editor - No links shown in link browser

Posted on 2010-09-01
9
2,456 Views
Last Modified: 2012-05-10
Hi, I've got a joomla installation. Problem is when I go and edit an article, and highlight some text to link, the link browser is blank.

See the error_log for more info ...

Then, when I click on the Advanced Tab of the link popup screen, it gives a PHP error (See attachment)
[Wed Sep 01 17:37:41 2010] [error] [client XX.XX.XX.XX] PHP Warning:  Parameter 1 to joomlalinks() expected to be a reference, value given in /opt/xx.com/public/plugins/editors/jce/libraries/classes/plugin.php on line 617, referer: http://stage.xx.com/administrator/index.php?option=com_content&sectionid=-1&task=edit&cid[]=33
[Wed Sep 01 17:37:41 2010] [error] [client XX.XX.XX.XX] PHP Warning:  Parameter 1 to docmanlinks() expected to be a reference, value given in /opt/xx.com/public/plugins/editors/jce/libraries/classes/plugin.php on line 617, referer: http://stage.xx.com/administrator/index.php?option=com_content&sectionid=-1&task=edit&cid[]=33
[Wed Sep 01 17:39:15 2010] [error] [client XX.XX.XX.XX] PHP Warning:  Parameter 1 to joomlalinks() expected to be a reference, value given in /opt/xx.com/public/plugins/editors/jce/libraries/classes/plugin.php on line 617, referer: http://stage.xx.com/administrator/index.php?option=com_content&sectionid=-1&task=edit&cid[]=33
[Wed Sep 01 17:39:15 2010] [error] [client XX.XX.XX.XX] PHP Warning:  Parameter 1 to docmanlinks() expected to be a reference, value given in /opt/xx.com/public/plugins/editors/jce/libraries/classes/plugin.php on line 617, referer: http://stage.xx.com/administrator/index.php?option=com_content&sectionid=-1&task=edit&cid[]=33

Open in new window

PastedGraphic-2.png
PastedGraphic-1.png
0
Comment
Question by:binele
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
9 Comments
 
LVL 11

Expert Comment

by:j-b-t
ID: 33574434
Hello there - this may be a permissiions / ownership probelma te the server level - can I ask you to answer 2
0
 
LVL 11

Expert Comment

by:j-b-t
ID: 33574442
Oop s hadn't finished writing - can I ask you 2 questions:
1 - was this workign before on eth same computer?
2 - have you tried to do this using another browser? (e.g. does this not work in any browser?)
0
 
LVL 25

Expert Comment

by:lenamtl
ID: 33576279
Hi,

Are you using PHP 5.3RC?

changed
if(call_user_func_array( array( trim($class), 'test' ),null)) {
by
if(call_user_func_array( array( trim($class), 'test' ),array(null))) {

in
libraries\joomla\session\session.php
libraries\joomla\cache\cache.php

If you use previous Joomla version
here are the files to edit
libraries\joomla\cache\session.php
libraries\joomla\session\cache.php

Always make a full backup files and BD before trying anything :)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:binele
ID: 33588299
Hi, first of all it's not a browser problem. It looks like a JCE problem with the editor. However, I can't seem to figure out what's wrong with the code.

It was working on another site. However, porting it to a new server must have upgraded the PHP version or something.

also tried the php changes @lenamtl suggested.

Still no go.

Any other advice?
0
 
LVL 25

Expert Comment

by:lenamtl
ID: 33588973
Which PHP version are you using?
Which JCE version & which JCE Plugin are you using?
0
 
LVL 25

Expert Comment

by:lenamtl
ID: 33589028
To know PHP version and PHP settings
create a php file phpinfo.php

with this code inside

<?php
phpinfo();
?>

Upload this page to your server, call this page to display the infos, delete this file from the server after.
0
 

Author Comment

by:binele
ID: 33591743
attached is the phpinfo output...

JCE is 1.5.2 according to Joomla.

Please help to take a look.
phpinfo.html
0
 
LVL 25

Expert Comment

by:lenamtl
ID: 33592274
Ok I have found the solution
What you need to do is download and replace joomlinks.php
this will fix the problem

I will try to find this file for you

0
 
LVL 25

Accepted Solution

by:
lenamtl earned 500 total points
ID: 33592354
What is the joomlinks version installed?
Maybe you have the official site in your fav..

Here is what I have found
I don't know if this the correct component and version..
http://www.coolsteph.net/extensions-joomla/joomlink/cat_view/7-extensions-joomla/16-joomlink?limit=5&limitstart=0&order=name&dir=ASC
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
clicking to find my folders on wamp 8 42
PHP Web Development 6 62
restriction of entering a a page 5 44
What kind of script/language created this graph? 6 54
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question