Chronoforms/ Joomla 1.5 Admin Menu Dropdowns

P0RSCH3 21 Dec, 2008
Hi Complete Noob at Joomla, I have spent 2 weeks creating a website on localhost and finaly got it as I want. Been on to my CP on Fasthosts created blank database. Copied files from Joomla15 on localhost to htdocs on web. Some FTP problems during transfer but all resolved in the end.

Export of Database from local which give me problems (opportunities for growth!) were:
1.Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.
???HELP

Import of Database into Fasthosts database give more challenges.
1.The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
???HELP
2. Got import Errors and Found that I Needed to remove this from the export>>>>>>>>>
---- Database: `joomla15`--CREATE DATABASE `joomla15` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;USE `joomla15`
NOW RESOLVED
3. Further Import errors and research suggested the fix selecte Add DROP TABLE / VIEW / PROCEDURE / FUNCTION this imported successfully
Or did it???HELP
Configuration.php edited as per the guides.

Current Status:
I can open my site and browse all the articles the only error is the chronoform image verification box does not appear,this error message appears instead>>
Notice: Undefined property: stdClass::$plugins in \\nas30ent\domains\h\h-eta.co.uk\user\htdocs\components\com_chronocontact\chronocontact.html.php on line 303

Used FTP to put a fresh copy of chronocontact.html.php into htdocs, still the same.

I can open my site admin but the left side top menu buttons (site,menus,content,components,extensions,tools,help)do not show dropdowns on mouseover.
Works on localhosts
Following a guide in an old thread
Block popupmenus enabled for site
Avast antivirus disabled
I then looked at the source code of my admin page and the javascript seems to be broken. first seems to fall over here>>

<title>h-eta LPG - Administration</title>
<link href="/administrator/templates/khepri/favicon.ico" rel="shortcut icon" type="image/x-icon" />

<style type="text/css">
<!--

.icon-16-CF {
background: url(components/com_chronocontact/CF.png) no-repeat;
}

.icon-16-icon-16-cpanel {
background: url(templates/khepri/images/menu/icon-16-cpanel.png) no-repeat;
}

.icon-16-icon-16-config {
background: url(templates/khepri/images/menu/icon-16-config.png) no-repeat;
}

.icon-16-icon-16-user {
background: url(templates/khepri/images/menu/icon-16-user.png) no-repeat;
}

.icon-16-icon-16-plugin {
background: url(templates/khepri/images/menu/icon-16-plugin.png) no-repeat;
}

.icon-16-icon-16-install {
background: url(templates/khepri/images/menu/icon-16-install.png) no-repeat;
}

-->

I have used phpmyadmin to look at com_chronocontact tables in localhost and web databases and they are both completely different.
Any help much appreciated on the best way to resolve this, I have no idea what to do when using phpmyadmin to administer a database and can just about spell javascript.
Max_admin 21 Dec, 2008
Hi Porsch,

try to open yourdowmain.com/components/com_chronocontact/chrono_verification.php what do you get ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
P0RSCH3 22 Dec, 2008
Hi Max,
The image “http://mydomain.co.uk/components/com_chronocontact/chrono_verification.php” cannot be displayed, because it contains errors.

Thank You for the response

Kind Regards

GT
GreyHead 22 Dec, 2008
Hi porsch3,

1) The MySQL (root with no password) message is probably because you had a simple MySQL setup on Localhost with only one user and no password. FastHosts will have required you to set up a db user and password which you then presumably had to edit into your configuration file. So this problem should be in the past if your Joomla site is working.

If you still have this problem then change ISPs - you never wan't a publicly available database with 'no password'.

3) Hard to tell what's happening with ChronoForms, unless you have a large amount of form data saved I'd be inclined to uninstall CF from the new site. Reinstall a fresh copy, then take backup copies of the forms from localhost and restore them in the new site.

If you do have data that needs transferring then do it one table at a time - you may need to edit the table names to get them to match the form ids on the new site though.

The Plugins error message is because ChronoForms isn't finding the form parameters which are normally saved in the database.

Bob

PS In general, I find it simpler in the long run to reinstall fresh copies of Joomal and the extensions and move the data than to try and ftp over all the files and then fix the inevitable config errors.

PPS Joomla Plug offer commercial services and tools for moving sites (there's also a free trial but it doesn't work with localhost and needs ioncube).
P0RSCH3 23 Dec, 2008
Hi,
Things are getting better but not quite there yet, I dropped the entire database, deleted all the joomla directories imported a fresh copy of the database and used Fillezilla to FTP the joomla files. This time no errors and I have a working joomla control panel. My site still has some errors but only on the chronoform pages which do not display the image verification box and show this error message>>>>>>>>>>>
Notice: Undefined property: stdClass::$plugins in \\nas30ent\domains\h\mydomain.co.uk\user\htdocs\components\com_chronocontact\chronocontact.html.php on line 303

In the backend this is displayed in chronoform forms management>>>>>
Undefined property: stdClass::$tablenames in \\nas30ent\domains\h\mydomain.co.uk\user\htdocs\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1615

I have turned error reporting off in joomla CP global Settings and contacted fasthoststo see if I could turn the error reporting off (php.ini?)and this was the reply>>>>>>>

As discussed during your call, you will need to define the variable that is being reported undefined in order for the script to work.
To avoid the errors being reported, add the following string to the scripted page.
error_reporting(E_ALL ^ E_NOTICE);

BTW Still get this>>>>>>
The image “http://www.h-eta.co.uk/components/com_chronocontact/chrono_verification.php” cannot be displayed, because it contains errors.
GreyHead 24 Dec, 2008
Hi Porsch3,

You cna usually control the Error Settings for your site in the Sie Global Configuration. Go to the Server Tab and set Error Reporting to 'System Default', 'Simple' or 'None' and see which is the first that hides the message. They are just warning messages and don't stop the script working except to display and ugly message.

The Anti-Spam tab for your forms has some diagnostics on it - please can you grab a sceen image and post it here. Here's is what mine looks like.

Bob
P0RSCH3 24 Dec, 2008
Hi Bob,
Thank You for the reply, I had already turned the error reporting in Joomla Global Configuration from system default to None and the problem was still apparent. I then turned it from None to Simple and the error messages have gone. Image Verification now all OK and problem solved!

Kind Regards
Gwyn
😀
GreyHead 24 Dec, 2008
Hi Gwyn,

Thanks for that. Delighted that all is well now.

I'm a little bemused that None still gave problems and pleased that the imageverification problem is fixed - I hadn't thought that the two might be related.

Bob
This topic is locked and no more replies can be posted.