Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 398628 bytes) in /home/name/public_html/inc/classes/BxDolTemplate.php on line 1207
Wondering if anyone knows of this error
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 398628 bytes) in /home/name/public_html/inc/classes/BxDolTemplate.php on line 1207 Wondering if anyone knows of this error |
Follow this steps 1: stop wondering 2: click on that link 3: read it 4: edit php.ini (and if you are wondering where php.ini is .... ROOT ) :) http://www.boonex.com/unity/forums/topic/migration-script-installation-error.htm |
Follow this steps 1: stop wondering 2: click on that link 3: read it 4: edit php.ini (and if you are wondering where php.ini is .... ROOT ) :) http://www.boonex.com/unity/forums/topic/migration-script-installation-error.htm I guess i should either make a php.ini file or submit a ticket with my host. They have been very helpful in setting up my account on the server to meet the needs of my dolphin project site. |
it's up to you here's a sample so you have an idea of what it looks like ;) register_globals = off |
all there is is a script that says php.php but no php.ini but somehow most of those settings are already set on my account. not sure how my host did that? |
memory_limit = 128M is what you need if its there change it |
basically i can view any page on the site so far as i can tell except for the profile pages |
i dont see a php.ini file so i sent the info over to my host. |
i dont see a php.ini file so i sent the info over to my host. peter if you dont see it, then most likely its not there. as for the error you have, thats not a script error that is a server error. the information that was passed on was to modify the parameters on the server, and really have nothing to do with the script, other than its essential requirements for the functionality and performance of the site. typically if you dont see a php.ini you would open notepad or some similar text editor. i prefer notepad++ you would write the lines of source that you needed in there and save the file as php.ini, then FTP that over to the server. if you create a phpinfo() file, you will see there are two listings one for local and one for global. sometimes the servers are configured to run only global settings and do not allow php flags in htaccess and/or do not allow local php.ini files to be created. this will need to be forwarded to your host as you mentioned. Regards, When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
i dont see a php.ini file so i sent the info over to my host. peter if you dont see it, then most likely its not there. as for the error you have, thats not a script error that is a server error. the information that was passed on was to modify the parameters on the server, and really have nothing to do with the script, other than its essential requirements for the functionality and performance of the site. typically if you dont see a php.ini you would open notepad or some similar text editor. i prefer notepad++ you would write the lines of source that you needed in there and save the file as php.ini, then FTP that over to the server. if you create a phpinfo() file, you will see there are two listings one for local and one for global. sometimes the servers are configured to run only global settings and do not allow php flags in htaccess and/or do not allow local php.ini files to be created. this will need to be forwarded to your host as you mentioned. Regards, i have a master reseller account that im using for this. my host has been very supportive of getting the settings i need set for my dolphin project site. I use the reseller to sell guild, clan and alliance sites through my social network project site that is geared towards mmorpg gamers ect. when in the root of my reseller i did not see any php.ini or php.info files not did i see any in the root of the dolphin project site. There is however a php.php file in the root of my reseller. I submitted a ticket to my host giving them the info you folks have provided me and they replied back that they are going to make the needed changes to rid of my error. Thank you so much to everyone who has helped in the replies to my post on this issue. |
Why is it so important for expose php to be off? |
Security ImplicationsWhen enabled, expose_php reports in every request that PHP is being used to process the request, and what version of PHP is installed. Malicious users looking for potentially vulnerable targets can use this to identify a weakness. expose_php is enabled by default. RecommendationsTurn expose_php off. It won't by itself fend off a determined attacker, but it will lower visibility to attacks that rely on simple reconnaissance techniques to scan for vulnerable targets. You can only disable expose_php in the php.ini file: ; Disable expose_php for security reasons |
Thank you both so much for your help. All settings have been made on my server and everything is going smoothly now without errors. |
Clear. But what if my host memory limit is 64M? Any possibility to devide migration profiles? |