Keyword

no pictures in the article

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #129371 by Tobias
no pictures in the article was created by Tobias
I can not upload pictures in the article. There are the following errors:


Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/ch-mundart.ch/administrator/components/com_k2/lib/class.upload.php on line 2910

Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/ch-mundart.ch/administrator/components/com_k2/lib/class.upload.php on line 2950

Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/ch-mundart.ch/administrator/components/com_k2/lib/class.upload.php on line 2977

Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/ch-mundart.ch/administrator/components/com_k2/lib/class.upload.php on line 3004

Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/ch-mundart.ch/administrator/components/com_k2/lib/class.upload.php on line 3022

Please Log in or Create an account to join the conversation.

  • Lefteris
  • Lefteris's Avatar
  • User
More
10 years 10 months ago #129372 by Lefteris
Replied by Lefteris on topic Re: no pictures in the article
Hi. This is caused due to PHP 5.5 update. It has already been fixed in K2 development version. You can get it from getk2.org/assets/get .

Please Log in or Create an account to join the conversation.

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #129373 by Tobias
Replied by Tobias on topic Re: no pictures in the article
Thank you very much
Now I get no error message, but only a white page.

Please Log in or Create an account to join the conversation.

  • Lefteris
  • Lefteris's Avatar
  • User
More
10 years 10 months ago #129374 by Lefteris
Replied by Lefteris on topic Re: no pictures in the article
Just to make sure that you don't get any errors, install the 2.6.8 version. Then edit file administrator/components/com_k2/lib/class.upload.php with this github.com/joomlaworks/k2/blob/e5ea56e4d1923404a085ea463e4d1632e4c4659f/administrator/components/com_k2/lib/class.upload.php .

Please Log in or Create an account to join the conversation.

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #129375 by Tobias
Replied by Tobias on topic Re: no pictures in the article
Thank you for your answer

I have now K2 version 2.6.8 installed and "/ administrator/components/com_k2/lib/class.upload.php" replaced. but the problem is not resolved. I get a white page. I get no error message.

Please Log in or Create an account to join the conversation.

  • Lefteris
  • Lefteris's Avatar
  • User
More
10 years 10 months ago #129376 by Lefteris
Replied by Lefteris on topic Re: no pictures in the article
Go to Joomla! configuration and set error reporting to maximum. Then you should see an error message at the white screen.

Please Log in or Create an account to join the conversation.

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #129377 by Tobias
Replied by Tobias on topic Re: no pictures in the article
The error reporting is maximum. :-(
but there is no error.

Please Log in or Create an account to join the conversation.

  • Lefteris
  • Lefteris's Avatar
  • User
More
10 years 10 months ago #129378 by Lefteris
Replied by Lefteris on topic Re: no pictures in the article
Where exactly are you getting the white screen? Try to right-click on the white screen, view page source and check for errors there.

Please Log in or Create an account to join the conversation.

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago - 10 years 10 months ago #129379 by Tobias
Replied by Tobias on topic Re: no pictures in the article
<!--[if lt IE 7]>
<div style="border:1px solid #F7941D;background:#FEEFDA;text-align:center;clear:both;height:75px;position:relative;margin-bottom:16px;">
<div style="position:absolute;right:3px;top:3px;font-family:courier new;font-weight:bold;">
<a href="#" onclick="javascript:this.parentNode.parentNode.style.display='none';return false;"><img src="/media/k2/assets/images/ie6nomore/ie6nomore-cornerx.jpg" style="border:none;" alt="Schließen Sie diese Mitteilung"/></a>
</div>
<div style="width:640px;margin:0 auto;text-align:left;padding:0;overflow:hidden;color:black;">
<div style="width:75px;float:left;">
<img src="/media/k2/assets/images/ie6nomore/ie6nomore-warning.jpg" alt="Warnung!"/>
</div>
<div style="width:275px;float:left;font-family:Arial,sans-serif;">
<div style="font-size:14px;font-weight:bold;margin-top:12px;">
Sie verwenden einen veralteten Browser... </div>
<div style="font-size:12px;margin-top:6px;line-height:12px;">
Für eine bessere Anzeige dieser Website nutzen Sie bitte einen modernen Web-Browser. </div>
</div>
<div style="width:75px;float:left;"><a href="www.firefox.com" target="_blank">Holen Sie sich Firefox 3.5

<div style="width:75px;float:left;"><a href="www.browserforthebetter.com/download.html" target="_blank">Holen Sie sich Internet Explorer 8

<div style="width:73px;float:left;"><a href="www.apple.com/safari/download/" target="_blank">Holen Sie sich Safari 4

<div style="float:left;"><a href="www.google.com/chrome" target="_blank">Holen Sie sich Google Chrome

</div>
</div>
<![endif]-->
<div id="k2AdminContainer" class="K2AdminViewItem isJ25 isJ30">

Please Log in or Create an account to join the conversation.

  • Lefteris
  • Lefteris's Avatar
  • User
More
10 years 10 months ago #129380 by Lefteris
Replied by Lefteris on topic Re: no pictures in the article
Which version you were using before we started this conversation? Try to install K2 2.6.8 again. Maybe something went wrong during the installation.

Please Log in or Create an account to join the conversation.

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago - 10 years 10 months ago #129381 by Tobias
Replied by Tobias on topic Re: no pictures in the article
I have reinstalled K2 2.6.8 -> problem exists
I changed the class.upload.php -> problem exists

Joomla! 3.3.0 Stable

Please Log in or Create an account to join the conversation.

  • Lefteris
  • Lefteris's Avatar
  • User
More
10 years 10 months ago #129382 by Lefteris
Replied by Lefteris on topic Re: no pictures in the article
Can you install other extensions? This looks to me that we tried to fix an error but the update caused other issues. You didn't answer my question, which version you were using before i told you to update to K2 2.6.8 ? Try to go to plugin manager and disable any plugins found there of group "k2".

Please Log in or Create an account to join the conversation.

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #129383 by Tobias
Replied by Tobias on topic Re: no pictures in the article
Please excuse my "google english".

I bought the template from gavick.com and can remember that after an update of "K2" was made. So I suspect that the previous version of 2.6.8 was installed.

I have all the "K2" plugin is disabled, the problem with the white side is still present.

Other Extensions I can install.

Please Log in or Create an account to join the conversation.

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #129384 by Tobias
Replied by Tobias on topic Re: no pictures in the article
I now have another new template from Gavick Pro Installed. I did not update. I have the same problem under neu.tobiasdarin.ch

K2 2.6.7
Joomla! 3.3.0 Stable

but now I get error messages.


Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/neu.tobiasdarin.ch/administrator/components/com_k2/lib/class.upload.php on line 2910

Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/neu.tobiasdarin.ch/administrator/components/com_k2/lib/class.upload.php on line 2950

Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/neu.tobiasdarin.ch/administrator/components/com_k2/lib/class.upload.php on line 2977

Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/neu.tobiasdarin.ch/administrator/components/com_k2/lib/class.upload.php on line 3004

Warning: preg_match() [function.preg-match.php]: Compilation failed: invalid range in character class at offset 7 in /home/crazylin/www/neu.tobiasdarin.ch/administrator/components/com_k2/lib/class.upload.php on line 3022

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
10 years 10 months ago #129385 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: no pictures in the article
Please update to K2's development version where the issue has been fixed.

Please Log in or Create an account to join the conversation.

  • Tobias
  • Tobias's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #129386 by Tobias
Replied by Tobias on topic Re: no pictures in the article
The problem is the size of the photo, that photo is 4.3MB. As soon as I make it smaller it works. There should be an error message appear.

Please Log in or Create an account to join the conversation.