PDA

View Full Version : Fatal Error


martin_a_castro
06-19-2009, 05:14 AM
Hi, sorry but I need your help. I search the forum and did not find the answer...

I'm migrating my script to a new hosting and I recieve the following error:

Fatal error: require_once() [function.require]: Failed opening required 'libs/intsmarty/intsmarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/enbuscad/public_html/') in /home/enbuscad/public_html/init.php on line 49

I'm running 2.1.3 with PHP 5.2.9

Now the script is working beacuse I undo the Nameservers

Thanks and regards
Martin

James
06-19-2009, 05:19 AM
make sure ALL files copied over looks like they didnt

martin_a_castro
06-19-2009, 05:48 AM
Thanks James
Im reviewing, but seems that all files are copied... another idea? Permissions?

Thanks
Martin

martin_a_castro
06-19-2009, 06:37 AM
Now works the home, but the admin no :(

I have the following error
Fatal error: Smarty error: unable to write to $compile_dir '/home/enbuscad/public_html/temp/templates'. Be sure $compile_dir is writable by the web server user. in /home/enbuscad/public_html/libs/smarty/Smarty.class.php on line 1095

Any idea?

Thanks
Martin

martin_a_castro
06-19-2009, 06:45 AM
I solve that with permissions but now I have this error:

Warning: Smarty error: unable to read resource: "admin/login.tpl" in /home/enbuscad/public_html/libs/smarty/Smarty.class.php on line 1095

Any Idea to help me?

Thanks
Martin

martin_a_castro
06-19-2009, 08:33 AM
Sorry I was wrong, It was fast propagation. The scrip not works. I delete and upload again all the files from the other hosting and now my homepage is blank... I changed the Database reference... nothing...

ANy idea to help me?

Thanks

James
06-19-2009, 05:10 PM
You have something wrong permission wise most likely OR database related.

Check permissions and make sure that they need to be the 777 and not 755

make sure the database information is correct and that you imported it

martin_a_castro
06-19-2009, 07:32 PM
Thanks James, which files / directories must have 777 ?

These ones:?
- temp/
- temp/adodb
- temp/cache
- temp/templates

I forgot ones?

Thanks again for your time

Regards
Martin

James
06-19-2009, 08:16 PM
temp and all others under it UNLESS your host has php running as cgi then it is 755

martin_a_castro
06-20-2009, 08:20 PM
Thanks James


Now the homepage and subcategories are working but:

In the submit page I can't see the captcha image (My hosting provider have GD Library installed)
The admin zone is blank, only works if I write:admin/login.php

I write my user and pass and recieve this message:
Notice: SmartyValidate: [is_valid] form 'login' is not registered. in /home/enbuscad/public_html/libs/smarty/SmartyValidate.class.php on line 273

Thanks for your help
Regards
Martin

martin_a_castro
06-20-2009, 09:50 PM
My hosting provider told me "gd-2.0.33-9.4.el5_1.1 is already installed on server"

Any idea why captcha is not working

Thanks and regards
Martin

nostradamus1
06-20-2009, 10:27 PM
did yo try a clean install to check the server is working correctly

martin_a_castro
06-20-2009, 10:31 PM
Thanks nostradamus1

I don't understand you, what do you mean "did yo try a clean install" ? What I must clean?

This script was running ok in another server. I copy all the files and database and put them on the new server...

Thanks for your help

Regards
Martin

James
06-20-2009, 10:37 PM
pm me ftp and admin access so I can take a look it for you.

martin_a_castro
06-21-2009, 10:17 AM
Thanks JAmes, I sent you the correct info to you

Regards
Martin

martin_a_castro
06-22-2009, 02:07 AM
Hi James, I PM again the correct FTP info

Regards
Martin

James
06-22-2009, 02:42 AM
I will look at it some more when I get a few more minutes.

Getting header already sent error on the captcha page.
I will get back to it as soon as I can

martin_a_castro
06-22-2009, 04:14 AM
Thank you very much James for your help and time, I wait for your comments

Best regards
Martin

martin_a_castro
06-23-2009, 04:28 AM
Hi James, did you have time to review this issue?

Thanks
Martin

martin_a_castro
06-24-2009, 03:01 AM
Seems that I solve the problem :-) I reinstall all