Page 1 of 1

Error when updating the Admin Settings in 2.0.

Posted: Thu Feb 05, 2009 4:33 am
by MOB
Script URL: http://mixingonbeat.com/support
Version of script: 2.0
Hosting company: http://canaca.com
URL of phpinfo.php: http://mixingonbeat.com/phpinfo.php
URL of session_test.php: http://mixingonbeat.com/session_test.php
http://mixingonbeat.com/session_test2.php
What terms did you try when SEARCHING for a solution: Tried searching this sub-forum for help on this matter. But couldn't find a solution or at least a clear explanation.

Write your message below:

I updated the software from 0.94.1 to 2.0 -- followed all the update instructions and updated the install file and tweaked my version so it matches the theme of my site.

Okay, my problem right now is that when I try to update the Admin Settings. I get the following error:

Please enter your website URL. Make sure it is a valid URL (start with http:// or https://)


I do have a valid URL on that page, so I don't know what could be causing this strange error. I did CHMOD the hesk_settings.inc.php file to 666 as instructed. The only thing I am trying to enable the Admin Link feature.

Please advise.

Posted: Thu Feb 05, 2009 3:10 pm
by Klemen
You haven't been modifying the files have you?

What is the URL you are trying to enter?

Posted: Thu Feb 05, 2009 9:47 pm
by MOB
Hi Klemen,

Thank you for replying to me.

Yes, I have been modifying the css file so it matches my site color theme. I also added the following code for each of the form boxes in that page, because with my css settings from my forum template, the form boxes would be white background and white fonts--hard to read. My theme is a black-dark themed. So I added this code for each form box--since I notice it was missing it:

I added class="post" before type="text"

see code below:

modified

Code: Select all

<td><input class="post" type="text" name="s"s_site_url" size="40" maxlength="255" value="<?php echo $hesk_settings['site_url']; ?>" /></td>
original

Code: Select all

<td><input type="text" name="s_site_url" size="40" maxlength="255" value="<?php echo $hesk_settings['site_url']; ?>" /></td>
I did this so the form boxes are black background and white text--I did this before to your prior software version, and I didn't have an issue with it. Perhaps this is what's causing this at least for that page? I have tested all the other pages with the same modified code and it works. If you have time test my Support Ticket.

The URL I am entering is http://www.mixingonbeat.com

Posted: Thu Feb 05, 2009 10:46 pm
by MOB
Update:

I removed all the modified code I did to this page, but it doesn't help. Still generates the same error.

Perhaps this helps. I was also having trouble uploading attachments. But I corrected the System/root path.

By default it was showing the one below:

/home6/xxxxxx/public_html/support

and I took out the "6" from "home" and now it shows:

/home/xxxxxx/public_html/support

The one without the "6" fixed my issue with the attachment feature. Hopefully this helps?

Posted: Thu Feb 05, 2009 11:40 pm
by MOB
Update
After paying close attention to the code above I posted. I notice that the modified version has this "name="s"s_site_url" That shouldn't be done that way, it should instead be: "name="s_site_url" (remove the first "s") I think I must have sabotaged that file when I was copy/pasting the code throughout that page. I think this issue is solved, unless I come back and report otherwise.

Posted: Thu Feb 05, 2009 11:45 pm
by MOB
Update
Yep, that was it! Thanks again for all your help. I should have paid closer attention when I was modifying that page.

I got another question regarding another issue I am experiencing with this new software. Is it okay to start my help session here? Or should I start a new thread?

Posted: Fri Feb 06, 2009 7:00 am
by Henrie
For a different question it is better to start a new thread.
It is easier for those who search the forum so the title of the thread is descriptive.

Henrie