Snippets Error When we submit my Code | Support | Forum

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Snippets Error When we submit my Code
Jitendra Sharma
Member
Members
Forum Posts: 7
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
1
July 28, 2017 - 8:21 am
sp_Permalink sp_Print

I am Geting An Error When we submit ad code from Snippets

Error Is

"Forbidden

You don't have permission to access /module.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

I Will Use {literal} {/literal} Code Allready

Please Solve my Problem.
Thanks

Kshitij Kumar
Moderator
Members

Moderators
Forum Posts: 112
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
2
July 28, 2017 - 8:57 am
sp_Permalink sp_Print

Could you please share your code?

Jitendra Sharma
Member
Members
Forum Posts: 7
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
3
August 1, 2017 - 2:34 am
sp_Permalink sp_Print

{literal}//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js

(adsbygoogle = window.adsbygoogle || []).push({});
{/literal}

THIS IS ADSENSE CODE I WANT INSERT

Kshitij Kumar
Moderator
Members

Moderators
Forum Posts: 112
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
4
August 1, 2017 - 6:01 am
sp_Permalink sp_Print

I'm assuming that you're adding script tags as well.

It shouldn't happen and the problem seems to be from your server. Could you please check permission for module.php file?

And please paste the error from error_log of Admin Panel.

Jitendra Sharma
Member
Members
Forum Posts: 7
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
5
August 4, 2017 - 11:08 am
sp_Permalink sp_Print

Error Log -

[11-Jul-2017 09:27:54 UTC] PHP Warning: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /home/jitupjnl/kliqqi.net/libs/db.php on line 479
[12-Jul-2017 20:20:22 UTC] PHP Warning: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /home/jitupjnl/kliqqi.net/libs/db.php on line 479
[03-Aug-2017 19:20:51 UTC] PHP Warning: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /home/jitupjnl/kliqqi.net/libs/db.php on line 479

and Module Permission is 644

Kshitij Kumar
Moderator
Members

Moderators
Forum Posts: 112
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
6
August 4, 2017 - 10:26 pm
sp_Permalink sp_Print

1) Change permission to 777 and check if you're still getting the error.

2) Please comment line 479 and check again.

For now, add Adsense code directly on database so that your ad starts running.
Please let me know if you still have the problem.

Forum Timezone: America/New_York

Most Users Ever Online: 27

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Adam Burton: 103

DrCrash: 74

cyrus: 60

lipsmega: 47

OxyThemes: 36

Newest Members:

ubojohuqy

cloye

Guilherme Corrêa

PadelHub

Pankaj Jangir

Pugazhenthi

Saad Kassam

alex

slatraining

Vladimir

Forum Stats:

Groups: 1

Forums: 8

Topics: 324

Posts: 1731

 

Member Stats:

Guest Posters: 2

Members: 1188

Moderators: 2

Admins: 1

Administrators: ChuckRoast

Moderators: Kshitij Kumar, Mthobisi