Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

error in line 136 once again

  • Sander Damen
  • Sander Damen's Avatar Topic Author
  • Offline
  • New Member
More
15 years 10 months ago #21248 by Sander Damen
error in line 136 once again was created by Sander Damen
I have the same problem I encountered some weeks ago:

Warning: opendir(/var/www/vhosts/rdta.nl/httpdocs/images/stories/</span><span class="red">fruit</span><span class="red">) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/rdta.nl/httpdocs/plugins/content/jwsigpro.php on line 136

This is line 136

if ($dh = opendir($mosConfig_absolute_path.$rootfolder.$_images_dir_)) {
while (($f = readdir($dh)) !== false) {
if((substr(strtolower($f),-3) == 'jpg') || (substr(strtolower($f),-3) == 'gif') || (substr(strtolower($f),-3) == 'png')) {
$noimage++;
$images[] = trim(strtolower($f));
switch ($order) {
case 0: sort($images); break;
case 1: natsort($images); break;
case 2: natcasesort($images); break;
case 3: rsort($images); break;
case 4: shuffle($images); break;

Could you please let me know how to solve this problem, I cannot recall or find how it was solved last time...

Thanks in advance!

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 10 months ago #21249 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: error in line 136 once again
Hi again!

You have to use the code of the plugin without HTML code inside!

Wrong way
{gallery}<span class="red">fruit</span>{/gallery}

Right way
{gallery}fruit{/gallery}

Thanx!  ;)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Sander Damen
  • Sander Damen's Avatar Topic Author
  • Offline
  • New Member
More
15 years 10 months ago #21250 by Sander Damen
Replied by Sander Damen on topic Re: error in line 136 once again
Thanks, that is indeed the solution. I just don't understand where the code came from.
I have not typed it and it only shows in html...

But once again: Thanks!

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

More
15 years 10 months ago - 15 years 10 months ago #21251 by djoko
Replied by djoko on topic Re: error in line 136 once again
Hi.... I have the same problem too, but on my Vista local computer with xampp, and this is the error message is :

Warning: opendir(C:\xampp\htdocs\pipjateng/images/stories/modern/dieng/latarbelakang) [function.opendir]: failed to open dir: No error in C:\xampp\htdocs\pipjateng\plugins\content\jwsigpro.php on line 136

In this article i wrote this :

{gallery}modern/dieng/latarbelakang{/gallery}.............


And my images save in the folder \images\stories\modern\dieng\latarbelakang. Can SIG PRO do this with many subfolder ?

And how to write the right code here :
{gallery}modern\dieng\latarbelakang{/gallery}

or
{gallery}modern/dieng/latarbelakang{/gallery}
   


in Windows uses '\' or '/' for delimiter subfolder  ?
I want some help me,please... Thanks before.

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

  • Sander Damen
  • Sander Damen's Avatar Topic Author
  • Offline
  • New Member
More
15 years 10 months ago #21252 by Sander Damen
Replied by Sander Damen on topic Re: error in line 136 once again
For other users: I also found out it is safer not to use capitals in the name of the imagefile...

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 10 months ago #21253 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: error in line 136 once again

Hi.... I have the same problem too, but on my Vista local computer with xampp, and this is the error message is :

Warning: opendir(C:\xampp\htdocs\pipjateng/images/stories/modern/dieng/latarbelakang) [function.opendir]: failed to open dir: No error in C:\xampp\htdocs\pipjateng\plugins\content\jwsigpro.php on line 136

In this article i wrote this :

{gallery}modern/dieng/latarbelakang{/gallery}.............


And my images save in the folder \images\stories\modern\dieng\latarbelakang. Can SIG PRO do this with many subfolder ?

And how to write the right code here :

{gallery}modern\dieng\latarbelakang{/gallery}

or
{gallery}modern/dieng/latarbelakang{/gallery}
   


in Windows uses '\' or '/' for delimiter subfolder  ?
I want some help me,please... Thanks before.




Hi there!
Well, I have my sites, under developing, under Vista with xampp too
I use the code as you said, using the "/" symbol without any problem.
I'm not sure if this could be the problem, but lets try to find it!

The error message has been mentioned to the line 136
Can you please check if this line is the next one?
include_once($mosConfig_absolute_path."/plugins/content/jwsigpro/sigpro_engine.php");

If it is, can you please check out if the file sigpro_engine.php exists?

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum