- Posts: 22
COMMUNITY FORUM
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.
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.
Validation Woes
- Armagh
- Topic Author
- Offline
- Junior Member
Less
More
16 years 9 months ago - 16 years 9 months ago #12046
by Armagh
Validation Woes was created by Armagh
Hi Just wondering if anyone can put me on the right track. My Website Validates 100% when I have my Simple Image Gallery Pro Plugin and Mod Flashrotator DISABLED. I really like these two mods and sig pro should validate 100% so the problem must be me.
Errors include:
Line 372, Column > 80: XML Parsing Error: Opening and ending tag mismatch: div line 371 and a .
… to open!" title="Click image to open!" src="www.cha
and
Line 484, Column > 80: XML Parsing Error: Unescaped '<' not allowed in attributes values .
…mage to open!" title="Click image to open!" src="www.ch
I have tried changing Ampersands from "&" to "&" but all this seems to be doing is wasting my time as changes I make don't seem to appear when I re-Validate and my error count remains the same.
What is it about both of these Mods that is creating these errors and is there a way to fix them and if so where do I look for the source code?
Errors include:
Line 372, Column > 80: XML Parsing Error: Opening and ending tag mismatch: div line 371 and a .
… to open!" title="Click image to open!" src="www.cha
and
Line 484, Column > 80: XML Parsing Error: Unescaped '<' not allowed in attributes values .
…mage to open!" title="Click image to open!" src="www.ch
I have tried changing Ampersands from "&" to "&" but all this seems to be doing is wasting my time as changes I make don't seem to appear when I re-Validate and my error count remains the same.
What is it about both of these Mods that is creating these errors and is there a way to fix them and if so where do I look for the source code?
Please Log in or Create an account to join the conversation.
- Armagh
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
16 years 9 months ago #12047
by Armagh
Replied by Armagh on topic Re: Validation Woes
Any thoughts anyone or is it validating 100% for everyone but me?
I just re-installed the entire Plugin just now but still the same I'm afraid.
I just re-installed the entire Plugin just now but still the same I'm afraid.
Please Log in or Create an account to join the conversation.
- Armagh
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
16 years 9 months ago #12048
by Armagh
Replied by Armagh on topic Re: Validation Woes
Sorry One Error I find which may help:
Notice: Undefined variable: download_link in /home/sites/
/
/plugins/content/jwsigpro.php on line 324
Line 324 includes:
// if labels do exist
if (@$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]!="") {
if($download_link) // give at popups label a link to the original image, opened on new wimdow
$html .= '<a href=\''.$mosConfig_live_site.$rootfolder.$_images_dir_.'/'.$images[$a].'\' target=\'_blank\'><b>'.htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])],ENT_QUOTES).'</b></a>';
Any suggestions please
Notice: Undefined variable: download_link in /home/sites/
/
/plugins/content/jwsigpro.php on line 324
Line 324 includes:
// if labels do exist
if (@$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]!="") {
if($download_link) // give at popups label a link to the original image, opened on new wimdow
$html .= '<a href=\''.$mosConfig_live_site.$rootfolder.$_images_dir_.'/'.$images[$a].'\' target=\'_blank\'><b>'.htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])],ENT_QUOTES).'</b></a>';
Any suggestions please
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Platinum Member
Less
More
- Posts: 1188
16 years 9 months ago #12049
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic Re: Validation Woes
Hi my friend!
About the "download_link" issue, we need just initialize the variable! ( several servers need this think... )
Open to edit the mambot file and after the parameters, add this line
About the XML error, yew its strange, cause the sig pro doesn't use some XML!
Thank you!
About the "download_link" issue, we need just initialize the variable! ( several servers need this think... )
Open to edit the mambot file and after the parameters, add this line
$download_link = false;
About the XML error, yew its strange, cause the sig pro doesn't use some XML!
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.
- Armagh
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
16 years 9 months ago #12050
by Armagh
Replied by Armagh on topic Re: Validation Woes
Hi,
Thanks for that. I managed to find out my error after a lot of looking - a stray > in my code so as of now the site is validating thank you for your reply.
Thanks for that. I managed to find out my error after a lot of looking - a stray > in my code so as of now the site is validating thank you for your reply.
Please Log in or Create an account to join the conversation.
- Armagh
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
16 years 8 months ago - 16 years 8 months ago #12051
by Armagh
Replied by Armagh on topic Re: Validation Woes
Well not validating again and I don't know why.
I'm now getting: Undefined offset: 1 in ...../plugins/content/jwsigpro.php on line 163
I did change the lines to: f(@$_params[1]) $_width_final_ = $_params[1]; else $_width_final_ = $_width_;
if(@$_params[2]) $_height_final_ = $_params[2]; else $_height_final_ = $_height_;
if(isset($_params[3])) $_howmanythumbs_ = $_params[3]; else $_howmanythumbs_ = $singlethumb;
but it didn't fix anything
I'm now getting: Undefined offset: 1 in ...../plugins/content/jwsigpro.php on line 163
I did change the lines to: f(@$_params[1]) $_width_final_ = $_params[1]; else $_width_final_ = $_width_;
if(@$_params[2]) $_height_final_ = $_params[2]; else $_height_final_ = $_height_;
if(isset($_params[3])) $_howmanythumbs_ = $_params[3]; else $_howmanythumbs_ = $singlethumb;
but it didn't fix anything
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Platinum Member
Less
More
- Posts: 1188
16 years 8 months ago #12052
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic Re: Validation Woes
Hi my friend!!!
You have this server message at line 163?!?!?
Can you please post the code in that line?
Because at the default file, at line 163 I have only that
This error tell us that a variable is not initialized! We can initialize it ( some servers need that mode ) but I must see what variable you have at line 163!
Thank you! :)
You have this server message at line 163?!?!?
Can you please post the code in that line?
Because at the default file, at line 163 I have only that
159: while (!feof($file_handle)) {
160: $tlabel = fgets($file_handle);
161: $temp = explode("|",$tlabel);
162: $labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".trim(strtolower($temp[0])))] = $temp[1];
163: }
164: fclose($file_handle);
This error tell us that a variable is not initialized! We can initialize it ( some servers need that mode ) but I must see what variable you have at line 163!
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.
- Armagh
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
16 years 8 months ago - 16 years 8 months ago #12053
by Armagh
Replied by Armagh on topic Re: Validation Woes
Here is my Line 163:
and here is my jwsigpro.php page in full:****
$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".trim(strtolower($temp[0])))] = $temp[1];
and here is my jwsigpro.php page in full:****
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Platinum Member
Less
More
- Posts: 1188
16 years 8 months ago #12054
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic Re: Validation Woes
Hi my friend!
Do you use the txt option of the sig pro for the labels?
Check first this post .
And after that mute the line like this
Check it out and tell me the results!
Thank you!
Do you use the txt option of the sig pro for the labels?
Check first this post .
And after that mute the line like this
@$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".trim(strtolower($temp[0])))] = $temp[1];
Check it out and tell me the results!
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.
- Armagh
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
16 years 8 months ago #12055
by Armagh
Replied by Armagh on topic Re: Validation Woes
Hi Vinikey,
This seems to have worked thanks very much. The error has gone.
This seems to have worked thanks very much. The error has gone.
Please Log in or Create an account to join the conversation.