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.

Undefined offset

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 7 months ago #7362 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Undefined offset
OK!

Take a look now my friend!  :)
Seems to work just fine now!

The problem was ( well, not exactly problem )
that from the moment you don't use the labels function
your server return as "Undefined offset" notice, the empty array in php code.

Its a good to have running the errors report of the server
but usually the "errors" and "warnings" reports are those most important!
The "notice" reports its ok, but not necessary!

If you need more help, i'm here!

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.

More
16 years 7 months ago #7363 by nish
Replied by nish on topic Re: Undefined offset
kool,

weldone, Thank You for solving that issue.

Nish

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

More
16 years 6 months ago #7364 by markus wirkner
Replied by markus wirkner on topic Re: Undefined offset
the code in my plugin_jw_sigpro.php is already like described above.

but getting still the same error more than once:

[Thu Oct 18 17:45:06 2007] [error] [client 192.168.30.32] PHP Notice:  Undefined offset:  1 in /opt/share/www/test/mambots/content/plugin_jw_sigpro.php on line 113


only sig pro ist installed.
free version isnt installed anymore. the free version worked fine.

help please
not a public server (yet)

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 6 months ago #7365 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Undefined offset
Hi there!

I know that you said that the server is not yet public
but really need to see this issue in action to understand what happens!

The servers message is an error, warning or a notice?
The plugin works fine, but you have also those messages displayed?

well, at the line 113 we have this code line
$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".$temp[0])] = $temp[1];

try to "mute" it like this
$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".@$temp[0])] = @$temp[1];

you can send me via PM your direct to gallery link
and a s.administrator account to check ( and modify if necessary ) the files of the SIG Pro mambot.

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.

More
16 years 6 months ago #7366 by markus wirkner
Replied by markus wirkner on topic Re: Undefined offset
-it is an error.
-the plugin doesn't work at all. the website cant be displayed with the plugin since i changed from free to pro version.
-if i delete the labels.txt it show up an other error like:
  "Undefined index: "..........
-the labels.txt is created by using vi, and contains exactly the right name of the files following by | and text as shown in the example.

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 6 months ago #7367 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Undefined offset
Hi my friend!

As i saw from your first post, its an php notice!

Really need a direct link to see the issue in action!
I can't help you if i can't see the problem!
please, understand that!

PM me an direct link to the gallery and a super administrator account to see what happens!

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.

More
16 years 6 months ago #7368 by markus wirkner
Replied by markus wirkner on topic Re: Undefined offset
hi,
i had a working free-sim in my homenet. but with sim-pro the "undefined-offset-error".
to give you the chance to login and solve the problem, i copied everything to a public space on my server (with dyndns) from then on the gallery worked without changing anything else...hm.

i'll leave it there, it works thanks.

p.s. the only problem thereover i had to solve was kind of strange:
the site told me some like "image type not supported" - i forgot to change the user and rights. now the message doesnt appears anymore and the gallery works.

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


Powered by Kunena Forum